From c652bbc6091212811133466914e7ef39e61a7b21 Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 21 Jan 2023 22:25:22 -0600 Subject: clippy --- azalea-brigadier/src/exceptions/builtin_exceptions.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'azalea-brigadier/src/exceptions') 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 } => { -- cgit v1.2.3