mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 14:02:22 -05:00
chore: Move from master branch to main branch
This commit is contained in:
parent
113cdae2d4
commit
55a9284665
3 changed files with 4 additions and 4 deletions
|
@ -115,8 +115,8 @@ then
|
||||||
if [[ -z ${Version} ]]
|
if [[ -z ${Version} ]]
|
||||||
then
|
then
|
||||||
echo "No valid tag version found"
|
echo "No valid tag version found"
|
||||||
echo "Rustlings will be installed using the master branch"
|
echo "Rustlings will be installed using the main branch"
|
||||||
Version="master"
|
Version="main"
|
||||||
else
|
else
|
||||||
Version="tags/${Version}"
|
Version="tags/${Version}"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -134,7 +134,7 @@ path = "{}.rs""#,
|
||||||
.expect("Failed to compile!");
|
.expect("Failed to compile!");
|
||||||
// Due to an issue with Clippy, a cargo clean is required to catch all lints.
|
// Due to an issue with Clippy, a cargo clean is required to catch all lints.
|
||||||
// See https://github.com/rust-lang/rust-clippy/issues/2604
|
// See https://github.com/rust-lang/rust-clippy/issues/2604
|
||||||
// This is already fixed on master branch. See this issue to track merging into Cargo:
|
// This is already fixed on Clippy's master branch. See this issue to track merging into Cargo:
|
||||||
// https://github.com/rust-lang/rust-clippy/issues/3837
|
// https://github.com/rust-lang/rust-clippy/issues/3837
|
||||||
Command::new("cargo")
|
Command::new("cargo")
|
||||||
.args(&["clean", "--manifest-path", CLIPPY_CARGO_TOML_PATH])
|
.args(&["clean", "--manifest-path", CLIPPY_CARGO_TOML_PATH])
|
||||||
|
|
|
@ -132,7 +132,7 @@ fn main() {
|
||||||
println!("You can also contribute your own exercises to help the greater community!");
|
println!("You can also contribute your own exercises to help the greater community!");
|
||||||
println!();
|
println!();
|
||||||
println!("Before reporting an issue or contributing, please read our guidelines:");
|
println!("Before reporting an issue or contributing, please read our guidelines:");
|
||||||
println!("https://github.com/rust-lang/rustlings/blob/master/CONTRIBUTING.md");
|
println!("https://github.com/rust-lang/rustlings/blob/main/CONTRIBUTING.md");
|
||||||
}
|
}
|
||||||
|
|
||||||
if matches.subcommand_name().is_none() {
|
if matches.subcommand_name().is_none() {
|
||||||
|
|
Loading…
Reference in a new issue