This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 3dc1b9f
committed
Auto merge of rust-lang#132007 - rustbot:docs-update, r=ehuss
Update books
## rust-lang/edition-guide
7 commits in c7ebae25cb4801a31b6f05353f6d85bfa6feedd1..1f07c242f8162a711a5ac5a4ea8fa7ec884ee7a9
2024-10-21 14:29:49 UTC to 2024-10-19 19:08:20 UTC
- 2024: Add reserved syntax (rust-lang/edition-guide#326)
- Update stdout of `cargo new` (rust-lang/edition-guide#327)
- Don't run doctests on rustfmt ident sorting page
- add rustfmt raw identifer sorting doc (rust-lang/edition-guide#321)
- Add some tips for what to be careful of with rustdoc-doctests (rust-lang/edition-guide#323)
- Remove cargo-remove-implicit-features (rust-lang/edition-guide#324)
- Rename doctest standalone tag (rust-lang/edition-guide#325)
## rust-embedded/book
1 commits in f40a8b420ec4b4505d9489965e261f1d5c28ba23..ddbf1b4e2858fedb71b7c42eb15c4576517dc125
2024-10-13 19:53:37 UTC to 2024-10-13 19:53:37 UTC
- Add link to Cortex-M comparison to install.md (rust-embedded/book#378)
## rust-lang/reference
29 commits in c64e52a3d306eac0129f3ad6c6d8806ab99ae2e9..23ce619966541bf2c80d45fdfeecf3393e360a13
2024-10-05 00:33:03 +0000 to 2024-10-22 21:34:51 +0000
- Mention `--print cfg` under set configuration options (rust-lang/reference#1636)
- Fix `pat` fragment specifier to be the "current" edition (rust-lang/reference#1640)
- Add restriction for cfg_attr with crate_type and crate_name (rust-lang/reference#1649)
- Sort macro fragment specifiers (rust-lang/reference#1641)
- Document mixed-site hygiene (rust-lang/reference#1656)
- Clarify that "macro attributes" refers to proc macros (rust-lang/reference#1660)
- mdbook-spec: Fix Spec::new creation (rust-lang/reference#1658)
- Fix stdcall example broken by recent rustc change (rust-lang/reference#1659)
- Add spec identifiers to const_eval.md (rust-lang/reference#1569)
- Add identifier syntax to trait-bounds.md (rust-lang/reference#1631)
- Add identifier syntax to macro-ambiguity.md (rust-lang/reference#1634)
- Add spec identifier syntax to conditional-compilation.md (rust-lang/reference#1564)
- Add spec identifiers to behaviour-considered-undefined.md (rust-lang/reference#1562)
- Add test linking (rust-lang/reference#1646)
- Allow `deny` inside `forbid` as a no-op (rust-lang/reference#1655)
- Add identifier syntax to identifiers.md (rust-lang/reference#1583)
- Add spec identifiers to crates-and-source-files.md (rust-lang/reference#1570)
- Add identifier syntax to linkage.md (rust-lang/reference#1633)
- Add identifier syntax to type-coercions.md (rust-lang/reference#1632)
- Add identifiers to variables.md (rust-lang/reference#1626)
- Add identifier syntax to lexer chapters (rust-lang/reference#1620)
- Add spec identifier syntax to `unsafe-keyword.md` and `unsafety.md` (rust-lang/reference#1619)
- Add identifier syntax to types and subchapters. (rust-lang/reference#1618)
- Add identifier syntax to subtyping.md (rust-lang/reference#1613)
- Add identifier syntax to statements.md (rust-lang/reference#1611)
- Add identifier syntax to type-layout.md (rust-lang/reference#1614)
- Clarify definition of "immutable bytes" (rust-lang/reference#1637)
- Add preview artifacts in CI (rust-lang/reference#1647)
- trait bounds grammar: make `?` and `for<>` mutually exclusive (rust-lang/reference#1650)
## rust-lang/rustc-dev-guide
5 commits in 07bc9ca..59d94ea
2024-10-21 02:30:07 UTC to 2024-10-07 21:12:09 UTC
- Add the WASM | WASI | Emscripten notification groups (rust-lang/rustc-dev-guide#2100)
- Update bootstrapping.md (rust-lang/rustc-dev-guide#1900)
- Rename `needs-profiler-support` to `needs-profiler-runtime` (rust-lang/rustc-dev-guide#2095)
- Document compiletest directives `ignore-coverage-map` and `ignore-coverage-run` (rust-lang/rustc-dev-guide#2094)
- Purge `run-pass-valgrind` mentions (rust-lang/rustc-dev-guide#2091)File tree
7 files changed
+22
-7
lines changed- src
- bootstrap/src/core/build_steps
- doc
- tools/rustbook
- src
7 files changed
+22
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
174 | 181 | | |
175 | 182 | | |
176 | 183 | | |
| |||
Submodule edition-guide updated 9 files
- book.toml+1
- src/SUMMARY.md+3-2
- src/editions/creating-a-new-project.md+8-6
- src/rust-2021/c-string-literals.md+1-1
- src/rust-2021/reserved-syntax.md+1-1
- src/rust-2024/cargo-remove-implicit-features.md-47
- src/rust-2024/reserved-syntax.md+66
- src/rust-2024/rustdoc-doctests.md+10-5
- src/rust-2024/rustfmt-raw-identifier-sorting.md+50
Submodule embedded-book updated 1 file
- .github/workflows/main.yml+45-4
- README.md+14-2
- book.toml+1
- docs/authoring.md+16
- mdbook-spec/Cargo.lock+30-1
- mdbook-spec/Cargo.toml+1
- mdbook-spec/src/lib.rs+73-60
- mdbook-spec/src/main.rs+1-3
- mdbook-spec/src/rules.rs+115
- mdbook-spec/src/test_links.rs+203
- src/SUMMARY.md+1
- src/attributes.md+1-1
- src/attributes/diagnostics.md+3-2
- src/behavior-considered-undefined.md+95-13
- src/conditional-compilation.md+122-11
- src/const_eval.md+78-7
- src/crates-and-source-files.md+31-4
- src/destructors.md+12
- src/identifiers.md+15
- src/items/external-blocks.md+3-2
- src/lexical-structure.md+2
- src/linkage.md+26
- src/macro-ambiguity.md+53
- src/macros-by-example.md+50-14
- src/statements-and-expressions.md+2
- src/statements.md+35-1
- src/subtyping.md+19-1
- src/test-summary.md+5
- src/tokens.md+133-2
- src/trait-bounds.md+34-4
- src/type-coercions.md+54-1
- src/type-layout.md+101-3
- src/types.md+39-3
- src/types/array.md+9-2
- src/types/boolean.md+38-2
- src/types/closure.md+20
- src/types/enum.md+7
- src/types/function-item.md+10-2
- src/types/function-pointer.md+12-2
- src/types/impl-trait.md+38-2
- src/types/inferred.md+10-2
- src/types/never.md+9-2
- src/types/numeric.md+15
- src/types/parameters.md+2
- src/types/pointer.md+35
- src/types/slice.md+6
- src/types/struct.md+8
- src/types/textual.md+14-1
- src/types/trait-object.md+16-2
- src/types/tuple.md+12
- src/types/union.md+11-1
- src/unsafe-keyword.md+22
- src/unsafety.md+17
- src/variables.md+7
- src/whitespace.md+5
- theme/reference.css+30
- theme/reference.js+24
Submodule rustc-dev-guide updated 9 files
- src/SUMMARY.md+3
- src/building/bootstrapping/what-bootstrapping-does.md+226-196
- src/llvm-coverage-instrumentation.md+1-1
- src/notification-groups/about.md+12-2
- src/notification-groups/emscripten.md+23
- src/notification-groups/wasi.md+23
- src/notification-groups/wasm.md+23
- src/tests/compiletest.md+4-19
- src/tests/directives.md+5-2
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
704 | 704 | | |
705 | 705 | | |
706 | 706 | | |
| 707 | + | |
707 | 708 | | |
708 | 709 | | |
709 | 710 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| |||
37 | 42 | | |
38 | 43 | | |
39 | 44 | | |
| 45 | + | |
40 | 46 | | |
41 | 47 | | |
42 | 48 | | |
| |||
96 | 102 | | |
97 | 103 | | |
98 | 104 | | |
99 | | - | |
| 105 | + | |
| 106 | + | |
100 | 107 | | |
101 | 108 | | |
102 | 109 | | |
| |||
0 commit comments