diff options
| author | mat <github@matdoes.dev> | 2023-01-21 22:25:22 -0600 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2023-01-21 22:25:22 -0600 |
| commit | c652bbc6091212811133466914e7ef39e61a7b21 (patch) | |
| tree | c2eef8d242e07054af9ae9df6f8af7a6a3e630f2 /azalea-brigadier/src/exceptions | |
| parent | 9ee5e71bb13e596248fde000d8717c86276b0ce1 (diff) | |
| download | azalea-drasl-c652bbc6091212811133466914e7ef39e61a7b21.tar.xz | |
clippy
Diffstat (limited to 'azalea-brigadier/src/exceptions')
| -rwxr-xr-x | azalea-brigadier/src/exceptions/builtin_exceptions.rs | 9 |
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 } => { |
