Skip to content

Commit 44c7d94

Browse files
authored
Merge pull request #3338 from hi-rustin/rustin-patch-clippy-tip
Suggest right toolchain when running clippy
2 parents 1a5cebd + a7b6230 commit 44c7d94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ clippy is a moving target that can make it hard to merge for little benefit.
7272

7373
We do ask that contributors keep the clippy status clean themselves.
7474

75-
Minimally, run `cargo +nightly clippy --all --all-targets -- -D warnings` before
75+
Minimally, run `cargo +beta clippy --all --all-targets -- -D warnings` before
7676
submitting code.
7777

7878
If possible, adding `--all-features` to the command is useful, but will require

tests/suite/cli_rustup.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ fn recursive_cargo() {
583583
let cargo_bin_path = config.cargodir.join("bin");
584584
let cargo_subcommand = cargo_bin_path.join(format!("cargo-foo{}", EXE_SUFFIX));
585585
fs::create_dir_all(&cargo_bin_path).unwrap();
586-
fs::copy(&real_mock_cargo, &cargo_subcommand).unwrap();
586+
fs::copy(real_mock_cargo, cargo_subcommand).unwrap();
587587

588588
// Verify the default behavior, which is currently broken on Windows.
589589
let args = &["cargo", "--recursive-cargo-subcommand"];

0 commit comments

Comments
 (0)