Skip to content

Commit 5b88788

Browse files
committed
Fix clippy error
1 parent 5f655f3 commit 5b88788

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

itest/rust/src/framework/runner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ fn print_file_header(file: String, last_file: &mut Option<String>) {
346346
}
347347

348348
fn extract_file_subtitle(file: &str) -> &str {
349-
if let Some(sep_pos) = file.rfind(&['/', '\\']) {
349+
if let Some(sep_pos) = file.rfind(['/', '\\']) {
350350
&file[sep_pos + 1..]
351351
} else {
352352
file

0 commit comments

Comments
 (0)