Skip to content

Commit

Permalink
Rollup merge of rust-lang#127770 - rustbot:docs-update, r=ehuss
Browse files Browse the repository at this point in the history
Update books

## rust-lang/book

3 commits in f1e49bf7a8ea6c31ce016a52b8a4f6e1ffcfbc64..67fa536768013d9d5a13f3a06790521d511ef711
2024-07-12 21:21:45 UTC to 2024-07-05 17:35:06 UTC

- Use Rust 2021 Edition for mdBook (rust-lang/book#3974)
- Backport changes to chapter 11 (rust-lang/book#3969)
- Upgrade to Rust 1.79.0 (rust-lang/book#3968)

## rust-lang/edition-guide

2 commits in 941db8b3df45fd46cd87b50a5c86714b91dcde9c..5454de3d12b9ccc6375b629cf7ccda8264640aac
2024-07-14 07:06:34 UTC to 2024-07-12 06:05:29 UTC

- Update timeline etc. for Rust 2024
- 2024: Add note about never_type_fallback_flowing_into_unsafe lint level. (rust-lang/edition-guide#311)

## rust-embedded/book

1 commits in b10c6acaf0f43481f6600e95d4b5013446e29f7a..019f3928d8b939ec71b63722dcc2e46330156441
2024-07-11 17:46:10 UTC to 2024-07-11 17:46:10 UTC

- typo on tooling.md (rust-embedded/book#373)

## rust-lang/reference

9 commits in 1ae3deebc3ac16e276b6558e01420f8e605def08..e2f0bdc4031866734661dcdb548184bde1450baf
2024-06-29 16:59:51 +0000 to 2024-07-15 17:52:44 +0000

- Suppress type length limit test and note that it is not enforced (rust-lang/reference#1527)
- elaborate on slice wide pointer metadata (rust-lang/reference#1499)
- '.inst' in inline-assembly changed to '.insn' (rust-lang/reference#1453)
- Clarify that `asm!` blocks can be duplicated or deduplicated by the compiler (rust-lang/reference#1441)
- Add mdbook-spec (rust-lang/reference#1520)
- Add note about static libraries not linking their dependencies (rust-lang/reference#1472)
- more explicitly explain the UB around immutable extern statics (rust-lang/reference#1502)
- Improvements to `items/functions.md` (rust-lang/reference#1458)
- Enable mdbook smart-punctuation. (rust-lang/reference#1516)

## rust-lang/rust-by-example

1 commits in 658c6c27cb975b92227936024816986c2d3716fb..89aecb6951b77bc746da73df8c9f2b2ceaad494a
2024-07-11 12:33:43 UTC to 2024-07-11 12:33:43 UTC

- Update option_result.md (rust-lang/rust-by-example#1864)

## rust-lang/rustc-dev-guide

6 commits in d6e3a32..0c4d55c
2024-07-15 15:16:43 UTC to 2024-07-01 19:05:14 UTC

- Improve documentation of MIR queries & passes (rust-lang/rustc-dev-guide#1434)
- Bump dependencies for date-check tool (rust-lang/rustc-dev-guide#2012)
- Fix typo: lists -> lints (rust-lang/rustc-dev-guide#2011)
- use "bootstrap" instead of "rustbuild" (rust-lang/rustc-dev-guide#2010)
- Fix grammar issue in optimize-build.md (rust-lang/rustc-dev-guide#2009)
- Update name of Fuchsia builder (rust-lang/rustc-dev-guide#2008)
  • Loading branch information
matthiaskrgr authored Jul 15, 2024
2 parents 34e3c06 + 3051436 commit 24539e2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/doc/book
Submodule book updated 47 files
+4 −4 .github/workflows/main.yml
+3 −0 book.toml
+1 −0 ci/dictionary.txt
+1 −1 listings/ch02-guessing-game-tutorial/listing-02-04/output.txt
+2 −2 listings/ch06-enums-and-pattern-matching/no-listing-07-cant-use-option-directly/output.txt
+2 −2 listings/ch06-enums-and-pattern-matching/no-listing-10-non-exhaustive-match/output.txt
+1 −19 listings/ch10-generic-types-traits-and-lifetimes/listing-10-20/output.txt
+1 −3 listings/ch11-writing-automated-tests/listing-11-03/src/lib.rs
+0 −2 listings/ch11-writing-automated-tests/listing-11-05/src/lib.rs
+3 −2 listings/ch11-writing-automated-tests/listing-11-07/src/lib.rs
+2 −2 listings/ch11-writing-automated-tests/listing-11-10/output.txt
+2 −2 listings/ch11-writing-automated-tests/listing-11-10/src/lib.rs
+7 −4 listings/ch11-writing-automated-tests/listing-11-11/src/lib.rs
+5 −4 listings/ch11-writing-automated-tests/listing-11-12/src/lib.rs
+5 −4 listings/ch11-writing-automated-tests/listing-11-13/src/lib.rs
+2 −1 listings/ch11-writing-automated-tests/listing-11-13/tests/integration_test.rs
+1 −0 listings/ch11-writing-automated-tests/no-listing-04-bug-in-add-two/output.txt
+3 −2 listings/ch11-writing-automated-tests/no-listing-04-bug-in-add-two/src/lib.rs
+1 −2 listings/ch11-writing-automated-tests/no-listing-07-custom-failure-message/src/lib.rs
+11 −1 listings/ch11-writing-automated-tests/no-listing-10-result-in-tests/src/lib.rs
+2 −2 listings/ch11-writing-automated-tests/no-listing-11-ignore-a-test/output.txt
+19 −7 listings/ch11-writing-automated-tests/no-listing-11-ignore-a-test/src/lib.rs
+5 −4 listings/ch11-writing-automated-tests/no-listing-12-shared-test-code-problem/src/lib.rs
+3 −2 listings/ch11-writing-automated-tests/no-listing-12-shared-test-code-problem/tests/integration_test.rs
+5 −4 listings/ch11-writing-automated-tests/no-listing-13-fix-shared-test-code-problem/src/lib.rs
+4 −2 listings/ch11-writing-automated-tests/no-listing-13-fix-shared-test-code-problem/tests/integration_test.rs
+5 −4 listings/ch11-writing-automated-tests/output-only-05-single-integration/src/lib.rs
+3 −2 listings/ch11-writing-automated-tests/output-only-05-single-integration/tests/integration_test.rs
+2 −0 listings/ch13-functional-features/listing-13-04/output.txt
+2 −0 listings/ch13-functional-features/listing-13-05/output.txt
+5 −0 listings/ch13-functional-features/listing-13-08/output.txt
+7 −3 listings/ch15-smart-pointers/listing-15-21/output.txt
+0 −4 listings/ch16-fearless-concurrency/listing-16-09/output.txt
+10 −0 listings/ch16-fearless-concurrency/listing-16-13/output.txt
+1 −1 listings/ch16-fearless-concurrency/listing-16-14/output.txt
+2 −0 listings/ch19-advanced-features/listing-19-05/output.txt
+6 −0 listings/ch20-web-server/listing-20-17/output.txt
+1 −1 listings/ch20-web-server/listing-20-22/output.txt
+1 −1 listings/ch20-web-server/no-listing-04-update-worker-definition/output.txt
+531 −358 nostarch/chapter11.md
+5 −1 packages/tools/src/bin/link2print.rs
+1 −1 rust-toolchain
+6 −5 src/ch11-00-testing.md
+52 −43 src/ch11-01-writing-tests.md
+14 −14 src/ch11-02-running-tests.md
+26 −31 src/ch11-03-test-organization.md
+1 −1 src/title-page.md
2 changes: 1 addition & 1 deletion src/doc/edition-guide
2 changes: 1 addition & 1 deletion src/doc/embedded-book
2 changes: 1 addition & 1 deletion src/doc/rust-by-example

0 comments on commit 24539e2

Please sign in to comment.