File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -6229,7 +6229,7 @@ mod test_map {
62296229 }
62306230
62316231 for ( k, v) in map {
6232- println ! ( "{}, {}" , k , v ) ;
6232+ println ! ( "{k }, {v}" ) ;
62336233 }
62346234 }
62356235
@@ -6334,8 +6334,7 @@ mod test_map {
63346334 for ( ( key, value) , ( panic_in_clone, panic_in_drop) ) in guard. iter ( ) . zip ( iter) {
63356335 if * key != check_count {
63366336 return Err ( format ! (
6337- "key != check_count,\n key: `{}`,\n check_count: `{}`" ,
6338- key, check_count
6337+ "key != check_count,\n key: `{key}`,\n check_count: `{check_count}`"
63396338 ) ) ;
63406339 }
63416340 if value. dropped
@@ -6362,8 +6361,7 @@ mod test_map {
63626361
63636362 if count != check_count {
63646363 return Err ( format ! (
6365- "count != check_count,\n count: `{}`,\n check_count: `{}`" ,
6366- count, check_count
6364+ "count != check_count,\n count: `{count}`,\n check_count: `{check_count}`"
63676365 ) ) ;
63686366 }
63696367 core:: mem:: forget ( guard) ;
You can’t perform that action at this time.
0 commit comments