Skip to content

Commit 8dacf5f

Browse files
fix clippy: inline format args
1 parent 2af576b commit 8dacf5f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/by-util/test_sort.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2512,10 +2512,7 @@ fn test_locale_collation_utf8() {
25122512
let e_accent_pos = lines.iter().position(|&x| x == "é").unwrap();
25132513
assert!(
25142514
e_pos < z_pos && e_accent_pos < z_pos,
2515-
"Locale mode: 'e' ({}) and 'é' ({}) should sort before 'z' ({})",
2516-
e_pos,
2517-
e_accent_pos,
2518-
z_pos
2515+
"Locale mode: 'e' ({e_pos}) and 'é' ({e_accent_pos}) should sort before 'z' ({z_pos})"
25192516
);
25202517
}
25212518
}

0 commit comments

Comments
 (0)