File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed
keylime-push-model-agent/src Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ fn get_avoid_tpm_from_args(args: &Args) -> bool {
101101async fn run ( args : & Args ) -> Result < ( ) > {
102102 match args. verifier_url {
103103 Some ( ref url) if url. is_empty ( ) => {
104- info ! ( "Verifier URL: {}" , url ) ;
104+ info ! ( "Verifier URL: {url}" ) ;
105105 }
106106 _ => { }
107107 } ;
Original file line number Diff line number Diff line change @@ -846,7 +846,7 @@ mod tests {
846846 let client = RegistrarClient :: new ( & config) . unwrap ( ) ;
847847
848848 // Test that Debug trait is implemented
849- let debug_string = format ! ( "{:?}" , client ) ;
849+ let debug_string = format ! ( "{client :?}" ) ;
850850 assert ! ( debug_string. contains( "RegistrarClient" ) ) ;
851851 }
852852
Original file line number Diff line number Diff line change @@ -841,7 +841,7 @@ mod tests {
841841
842842 for uuid_str in & valid_uuids {
843843 let result = Uuid :: parse_str ( uuid_str) ;
844- assert ! ( result. is_ok( ) , "UUID {} should be valid" , uuid_str ) ;
844+ assert ! ( result. is_ok( ) , "UUID {uuid_str } should be valid" ) ;
845845 }
846846 }
847847
@@ -859,11 +859,7 @@ mod tests {
859859
860860 for uuid_str in & invalid_uuids {
861861 let result = Uuid :: parse_str ( uuid_str) ;
862- assert ! (
863- result. is_err( ) ,
864- "UUID {} should be invalid" ,
865- uuid_str
866- ) ;
862+ assert ! ( result. is_err( ) , "UUID {uuid_str} should be invalid" ) ;
867863 }
868864 }
869865 }
You can’t perform that action at this time.
0 commit comments