We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44191c8 commit 759590bCopy full SHA for 759590b
1 file changed
tools/mdbook-spec/src/lib.rs
@@ -118,7 +118,7 @@ impl Spec {
118
/// Determines the git ref used for linking to a particular branch/tag in GitHub.
119
fn git_ref(rust_root: &Option<PathBuf>) -> Result<String> {
120
let Some(rust_root) = rust_root else {
121
- return Ok("master".into());
+ return Ok("main".into());
122
};
123
let channel = std::fs::read_to_string(rust_root.join("src/ci/channel"))
124
.context("failed to read src/ci/channel")?;
@@ -155,7 +155,7 @@ impl Preprocessor for Spec {
155
Ok(s) => s,
156
Err(e) => {
157
warn_or_err!(&mut diag, "{e:?}");
158
- "master".into()
+ "main".into()
159
}
160
161
0 commit comments