Skip to content

Commit 65ff750

Browse files
fix(xtask): clippy (#889)
1 parent cca19a5 commit 65ff750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xtask/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ pub(crate) fn ensure_file_contents(file: &Path, contents: &str) -> Result<()> {
116116
}
117117
_ => (),
118118
}
119-
let display_path = file.strip_prefix(&root_path()).unwrap_or(file);
119+
let display_path = file.strip_prefix(root_path()).unwrap_or(file);
120120
eprintln!(
121121
"\n\x1b[31;1merror\x1b[0m: {} was not up-to-date, updating\n",
122122
display_path.display()

0 commit comments

Comments
 (0)