Skip to content

Commit 60e04df

Browse files
committed
fix: fix clippy lints
1 parent 99cb8e4 commit 60e04df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/mock/dist.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ pub fn change_channel_date(dist_server: &Url, channel: &str, date: &str) {
6464
let dir = dir.unwrap();
6565
if dir.file_name().to_str().unwrap().contains("rust-") {
6666
let path = path.join(format!("dist/{}", dir.file_name().to_str().unwrap()));
67-
hard_link(&dir.path(), path).unwrap();
67+
hard_link(dir.path(), path).unwrap();
6868
}
6969
}
7070
}

tests/suite/cli_ui.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fn rustup_init_ui_doc_text_tests() {
2626
let rustup_init = trycmd::cargo::cargo_bin("rustup-init");
2727
let project_root = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
2828
t.register_bin("rustup-init", &rustup_init);
29-
t.register_bin("rustup-init.sh", &project_root.join("rustup-init.sh"));
29+
t.register_bin("rustup-init.sh", project_root.join("rustup-init.sh"));
3030
t.case("tests/suite/cli-ui/rustup-init/*.toml");
3131
#[cfg(target_os = "windows")]
3232
{

0 commit comments

Comments
 (0)