Skip to content

Commit

Permalink
Fix clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
Bromeon committed Oct 25, 2024
1 parent 5f655f3 commit 5b88788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion itest/rust/src/framework/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ fn print_file_header(file: String, last_file: &mut Option<String>) {
}

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

0 comments on commit 5b88788

Please sign in to comment.