Skip to content

Commit

Permalink
Update runtest.rs to fix clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
qinheping authored Jan 14, 2025
1 parent e69e5b7 commit af1832a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/compiletest/src/runtest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ impl TestCx<'_> {
let coverage_path = coverage_info
.unwrap()
.split(' ')
.last()
.next_back()
.expect("couldn't retrieve path to the coverage results");
PathBuf::from(coverage_path)
}
Expand Down

0 comments on commit af1832a

Please sign in to comment.