Skip to content

Commit 44191c8

Browse files
Nightly test links: update rust branch name (use main)
Avoids the "Branch master was renamed to main." alert
1 parent 70c99cb commit 44191c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/mdbook-spec/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ fn git_ref(rust_root: &Option<PathBuf>) -> Result<String> {
125125
let git_ref = match channel.trim() {
126126
// nightly/beta are branches, not stable references. Should be ok
127127
// because we're not expecting those channels to be long-lived.
128-
"nightly" => "master".into(),
128+
"nightly" => "main".into(),
129129
"beta" => "beta".into(),
130130
"stable" => {
131131
let version = std::fs::read_to_string(rust_root.join("src/version"))

0 commit comments

Comments
 (0)