Skip to content

Commit

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

## nomicon

2 commits in 3a43983b76174342b7dbd3e12ea2c49f762e52be..70db9e4189f64d1d8e2451b1046111fb356b6dc2
2022-05-30 17:01:30 +0900 to 2022-06-27 20:47:21 +0900
- should be `size_of` instead of `align_of` (rust-lang/nomicon#371)
- Fix wording on the aliasing section (rust-lang/nomicon#366)

## book

20 commits in efbafdba3618487fbc9305318fcab9775132ac15..cf2653a5ca553cbbb4a17f1a7db1947820f6a775
2022-06-19 21:06:50 -0400 to 2022-07-05 12:07:58 -0400
- Frontmatter
- Update to Rust 1.62
- Extract where clause example so it'll get rustfmtted in the future
- Merge remote-tracking branch 'origin/pr/3238' into extract-where-clause-example
- Fix line wrapping of lib placement fix
- Fix grammar, spelling, and line wrapping of description of appendices
- Merge remote-tracking branch 'origin/pr/3244' into binlib
- Clarify *type* parameter names
- Fix listing 8-21. Fixes rust-lang/book#3251
- Propagate tech review changes for ch13
- Responses to tech review of chapter 13
- Tech review comments on chapter 13
- Fix double the
- Propagate tech review chapter 1 changes to src
- Address tech review comments for chapter 1
- Tech review comments for chapter 1
- Fix grammar
- Fix grammar
- Edits to edits to the introduction
- Comments from nostarch on the introduction

## rust-by-example

8 commits in 1095df2a5850f2d345fad43a30633133365875ba..83724ca387a2a1cd3e8d848f62820020760e358b
2022-06-18 21:47:12 -0300 to 2022-07-05 10:38:07 -0300
- changing names of params (rust-lang/rust-by-example#1567)
- Update incorrect print output in std/box.md (rust-lang/rust-by-example#1564)
- minor typo (rust-lang/rust-by-example#1563)
- fix: Fibonacci sequence starts from zero (rust-lang/rust-by-example#1562)
- add Vietnamese version on README.md (rust-lang/rust-by-example#1561)
- Update variadics.md (rust-lang/rust-by-example#1559)
- Change fold to sum in fn hof.md (rust-lang/rust-by-example#1560)
- Small typo, fixed compileable -> compilable (rust-lang/rust-by-example#1556)

## rustc-dev-guide

8 commits in 048d925..eb83839
2022-06-21 22:25:34 +0900 to 2022-07-03 15:17:39 +0900
- Suggest a separate build directory for rust-analyzer (rust-lang/rustc-dev-guide#1378)
- Change the old filename, "src/stage0.txt" to "src/stage0.json" (rust-lang/rustc-dev-guide#1383)
- Add the config needed to get rust-analyzer working on src/bootstrap (rust-lang/rustc-dev-guide#1381)
- Fix path to hir_id_validator.rs
- leave formatOnSave to the user (rust-lang/rustc-dev-guide#1380)
- diagnostics: structs with new slug syntax (rust-lang/rustc-dev-guide#1377)
- Few readability fixes
- humorust: Forbid pineapple on pizza (rust-lang/rustc-dev-guide#1374)

## embedded-book

1 commits in e17dcef5e96346ee3d7fa56820ddc7e5c39636bc..766979590da8100998f0d662499d4a901d8d1640
2022-06-19 10:28:00 +0000 to 2022-07-04 09:13:58 +0000
- "linker `link.exe` not found" fix  (rust-embedded/book#321)
  • Loading branch information
GuillaumeGomez authored Jul 5, 2022
2 parents 5d650bb + 15747dc commit 0eded16
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/doc/book
Submodule book updated 38 files
+2 −2 .github/workflows/main.yml
+2 −27 listings/ch02-guessing-game-tutorial/listing-02-04/output.txt
+1 −1 listings/ch03-common-programming-concepts/no-listing-23-statements-dont-return-values/output.txt
+4 −0 listings/ch05-using-structs-to-structure-related-data/output-only-01-debug/output.txt
+10 −0 listings/ch06-enums-and-pattern-matching/no-listing-07-cant-use-option-directly/output.txt
+8 −0 listings/ch08-common-collections/listing-08-19/output.txt
+1 −1 listings/ch08-common-collections/listing-08-21/src/main.rs
+8 −0 listings/ch10-generic-types-traits-and-lifetimes/no-listing-07-where-clause/Cargo.toml
+9 −0 listings/ch10-generic-types-traits-and-lifetimes/no-listing-07-where-clause/src/lib.rs
+8 −0 listings/ch13-functional-features/listing-13-06/Cargo.toml
+10 −0 listings/ch13-functional-features/listing-13-06/src/main.rs
+7 −7 listings/ch13-functional-features/listing-13-08/output.txt
+1 −4 listings/ch14-more-about-cargo/listing-14-07/add/adder/src/main.rs
+10 −0 listings/ch15-smart-pointers/output-only-01-comparing-to-reference/output.txt
+1 −0 listings/ch17-oop/listing-17-10/output.txt
+19 −0 nostarch/acknowledgments.md
+5 −0 nostarch/bio.md
+63 −38 nostarch/chapter01.md
+167 −133 nostarch/chapter13.md
+41 −0 nostarch/foreword.md
+30 −23 nostarch/introduction.md
+22 −0 nostarch/preface.md
+1 −1 rust-toolchain
+3 −1 src/ch00-00-introduction.md
+26 −6 src/ch01-01-installation.md
+4 −4 src/ch01-02-hello-world.md
+4 −3 src/ch01-03-hello-cargo.md
+1 −1 src/ch02-00-guessing-game-tutorial.md
+3 −3 src/ch07-02-defining-modules-to-control-scope-and-privacy.md
+3 −2 src/ch08-03-hash-maps.md
+1 −1 src/ch10-01-syntax.md
+1 −4 src/ch10-02-traits.md
+1 −1 src/ch11-01-writing-tests.md
+58 −30 src/ch13-01-closures.md
+1 −1 src/ch13-02-iterators.md
+1 −1 src/ch19-01-unsafe-rust.md
+1 −1 src/ch20-03-graceful-shutdown-and-cleanup.md
+1 −1 src/title-page.md
2 changes: 1 addition & 1 deletion src/doc/embedded-book
2 changes: 1 addition & 1 deletion src/doc/nomicon

0 comments on commit 0eded16

Please sign in to comment.