aboutsummaryrefslogtreecommitdiff
path: root/azalea-brigadier/src/exceptions
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2023-01-21 22:25:22 -0600
committermat <github@matdoes.dev>2023-01-21 22:25:22 -0600
commitc652bbc6091212811133466914e7ef39e61a7b21 (patch)
treec2eef8d242e07054af9ae9df6f8af7a6a3e630f2 /azalea-brigadier/src/exceptions
parent9ee5e71bb13e596248fde000d8717c86276b0ce1 (diff)
downloadazalea-drasl-c652bbc6091212811133466914e7ef39e61a7b21.tar.xz
clippy
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 } => {