aboutsummaryrefslogtreecommitdiff
path: root/azalea-brigadier/src/exceptions
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-brigadier/src/exceptions')
-rwxr-xr-xazalea-brigadier/src/exceptions/builtin_exceptions.rs9
1 files changed, 2 insertions, 7 deletions
diff --git a/azalea-brigadier/src/exceptions/builtin_exceptions.rs b/azalea-brigadier/src/exceptions/builtin_exceptions.rs
index c3c3c900..b96b37bf 100755
--- a/azalea-brigadier/src/exceptions/builtin_exceptions.rs
+++ b/azalea-brigadier/src/exceptions/builtin_exceptions.rs
@@ -83,17 +83,12 @@ impl fmt::Debug for BuiltInExceptions {
write!(f, "Unclosed quoted string")
}
BuiltInExceptions::ReaderInvalidEscape { character } => {
- write!(
- f,
- "Invalid escape sequence '{}' in quoted string",
- character
- )
+ write!(f, "Invalid escape sequence '{character}' in quoted string")
}
BuiltInExceptions::ReaderInvalidBool { value } => {
write!(
f,
- "Invalid bool, expected true or false but found '{}'",
- value
+ "Invalid bool, expected true or false but found '{value}'",
)
}
BuiltInExceptions::ReaderInvalidInt { value } => {