Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dev-guide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy dev-guide
on:
push:
branches:
- master
- main

env:
MDBOOK_VERSION: 0.5.2
Expand Down
2 changes: 1 addition & 1 deletion book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors = ["The Rust Project Developers"]
additional-css = ["theme/reference.css"]
additional-js = ["theme/reference.js"]
git-repository-url = "https://github.com/rust-lang/reference/"
edit-url-template = "https://github.com/rust-lang/reference/edit/master/{path}"
edit-url-template = "https://github.com/rust-lang/reference/edit/main/{path}"
smart-punctuation = true

[output.html.fold]
Expand Down
4 changes: 2 additions & 2 deletions dev-guide/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ title = "The Rust Reference Developer Guide"
language = "en"

[output.html]
git-repository-url = "https://github.com/rust-lang/reference/tree/master/dev-guide"
edit-url-template = "https://github.com/rust-lang/reference/edit/master/dev-guide/{path}"
git-repository-url = "https://github.com/rust-lang/reference/tree/main/dev-guide"
edit-url-template = "https://github.com/rust-lang/reference/edit/main/dev-guide/{path}"
smart-punctuation = true

[output.html.search]
Expand Down
2 changes: 1 addition & 1 deletion dev-guide/src/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ While writing, you may find it handy to have a [playground] open to test out wha

Feel free to take information from the standard library and Rustonomicon as appropriate.

Note that we don't write documentation for purely library features, such as threads and IO, and we don't write about Rust in the future. Documentation is written as if the current stable release of Rust is the last release. The `master` branch of the Reference corresponds to what is **stable** on the `main` branch ("nightly") of [rust-lang/rust]. If you want to write about Rust in the future, you want **[The Unstable Book][unstable]**.
Note that we don't write documentation for purely library features, such as threads and IO, and we don't write about Rust in the future. Documentation is written as if the current stable release of Rust is the last release. The `main` branch of the Reference corresponds to what is **stable** on the `main` branch ("nightly") of [rust-lang/rust]. If you want to write about Rust in the future, you want **[The Unstable Book][unstable]**.

[introduction]: https://doc.rust-lang.org/nightly/reference/introduction.html
[issue tracker]: https://github.com/rust-lang/reference/issues
Expand Down
Loading