Skip to content

Commit

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

## nomicon

3 commits in d1517d4e3f29264c5c67bce2658516bb5202c800..bfe1ab96d717d1dda50e499b360f2e2f57e1750a
2020-05-12 13:47:00 -0400 to 2020-06-05 13:19:42 -0400
- Clarify that str data must still be initialized
- Remove language-level UB for non-UTF-8 str
- fix Nomicon transmute UB

## reference

5 commits in becdca9477c9eafa96a4eea5156fe7a2730d9dd2..5d40ba5c2515caffa7790cda621239dc21ef5a72
2020-05-21 21:08:02 +0100 to 2020-06-06 20:25:36 -0700
- Add some links to Disambiguating Function Calls. (rust-lang/reference#829)
- change bash to sh as shell code blocks language indentifier (rust-lang/reference#827)
- Fix sentence mistake in array-expr.md (rust-lang/reference#826)
- removed the word "Second" form the beginning of the 2nd list item and  labelled it as `2` (rust-lang/reference#822)
- Update fn-like proc-macro invocation restrictions. (rust-lang/reference#816)

## book

14 commits in e8a4714a9d8a6136a59b8e63544e149683876e36..30cd9dfe71c446de63826bb4472627af45acc9db
2020-05-25 10:29:27 -0500 to 2020-06-07 23:07:19 -0500
- Unnecessarily long type name in Ch 13 (rust-lang/book#2362)
- Tweak example in chapter 10 (rust-lang/book#2363)
- Mention that to_lowercase isn't perfect (rust-lang/book#2364)
- fix typo in CONTRIBUTING.md (rust-lang/book#2360)
- Link German translation in appendix F (rust-lang/book#2347)
- Updates wording on Box example (rust-lang/book#2332)
- fix: match 15-24 with 15-18 (rust-lang/book#2324)
- Reword ch01-03 recap paragraph (rust-lang/book#2305)
- Remove some confusing wording. (rust-lang/book#2358)
- Clarify some wording a bit (rust-lang/book#2357)
- Update ch12-05 PowerShell note (rust-lang/book#2348)
- text -> console (rust-lang/book#2352)
- Improve wording around drop (rust-lang/book#2350)
- Make some statements about crates more correct (rust-lang/book#2349)

## edition-guide

1 commits in 0a8ab5046829733eb03df0738c4fafaa9b36b348..82bec5877c77cfad530ca11095db4456d757f668
2020-05-18 08:34:23 -0500 to 2020-06-03 08:56:02 -0500
- Add stuff for Rust 1.33 (rust-lang/edition-guide#214)
  • Loading branch information
Dylan-DPC authored Jun 8, 2020
2 parents fdaeb0f + ef4c4a5 commit 9890107
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/doc/book
Submodule book updated 72 files
+1 −1 CONTRIBUTING.md
+1 −0 ci/dictionary.txt
+5 −5 listings/ch10-generic-types-traits-and-lifetimes/listing-10-03/src/main.rs
+8 −8 listings/ch10-generic-types-traits-and-lifetimes/listing-10-04/src/main.rs
+2 −2 listings/ch10-generic-types-traits-and-lifetimes/listing-10-05/src/main.rs
+1 −1 listings/ch13-functional-features/listing-13-26/src/lib.rs
+1 −1 listings/ch13-functional-features/listing-13-27/src/lib.rs
+2 −2 listings/ch15-smart-pointers/listing-15-24/output.txt
+2 −2 listings/ch15-smart-pointers/listing-15-24/src/main.rs
+7 −7 src/appendix-04-useful-development-tools.md
+1 −0 src/appendix-06-translation.md
+2 −2 src/appendix-07-nightly-rust.md
+4 −4 src/ch01-01-installation.md
+4 −4 src/ch01-02-hello-world.md
+10 −9 src/ch01-03-hello-cargo.md
+12 −12 src/ch02-00-guessing-game-tutorial.md
+4 −4 src/ch03-01-variables-and-mutability.md
+2 −2 src/ch03-02-data-types.md
+7 −6 src/ch03-03-how-functions-work.md
+7 −7 src/ch03-05-control-flow.md
+1 −1 src/ch04-01-what-is-ownership.md
+4 −4 src/ch04-02-references-and-borrowing.md
+1 −1 src/ch04-03-slices.md
+1 −1 src/ch05-01-defining-structs.md
+3 −3 src/ch05-02-example-structs.md
+1 −1 src/ch06-01-defining-an-enum.md
+1 −1 src/ch06-02-match.md
+1 −1 src/ch07-01-packages-and-crates.md
+2 −2 src/ch07-03-paths-for-referring-to-an-item-in-the-module-tree.md
+4 −4 src/ch07-04-bringing-paths-into-scope-with-the-use-keyword.md
+2 −2 src/ch08-01-vectors.md
+2 −2 src/ch08-02-strings.md
+3 −3 src/ch09-01-unrecoverable-errors-with-panic.md
+2 −2 src/ch09-02-recoverable-errors-with-result.md
+5 −4 src/ch10-01-syntax.md
+1 −1 src/ch10-02-traits.md
+8 −11 src/ch10-03-lifetime-syntax.md
+13 −13 src/ch11-01-writing-tests.md
+9 −9 src/ch11-02-running-tests.md
+3 −3 src/ch11-03-test-organization.md
+5 −5 src/ch12-01-accepting-command-line-arguments.md
+1 −1 src/ch12-02-reading-a-file.md
+4 −4 src/ch12-03-improving-error-handling-and-modularity.md
+6 −6 src/ch12-04-testing-the-librarys-functionality.md
+18 −9 src/ch12-05-working-with-environment-variables.md
+2 −2 src/ch12-06-writing-to-stderr-instead-of-stdout.md
+4 −4 src/ch13-01-closures.md
+1 −1 src/ch13-02-iterators.md
+1 −1 src/ch14-01-release-profiles.md
+5 −5 src/ch14-02-publishing-to-crates-io.md
+9 −9 src/ch14-03-cargo-workspaces.md
+1 −1 src/ch14-04-installing-binaries.md
+1 −1 src/ch15-01-box.md
+3 −3 src/ch15-02-deref.md
+4 −4 src/ch15-03-drop.md
+2 −2 src/ch15-04-rc.md
+3 −3 src/ch15-05-interior-mutability.md
+1 −1 src/ch15-06-reference-cycles.md
+2 −2 src/ch16-01-threads.md
+1 −1 src/ch16-02-message-passing.md
+2 −2 src/ch16-03-shared-state.md
+2 −2 src/ch17-02-trait-objects.md
+2 −2 src/ch18-01-all-the-places-for-patterns.md
+2 −2 src/ch18-02-refutability.md
+1 −1 src/ch18-03-pattern-syntax.md
+2 −2 src/ch19-01-unsafe-rust.md
+5 −5 src/ch19-03-advanced-traits.md
+1 −1 src/ch19-05-advanced-functions-and-closures.md
+2 −2 src/ch19-06-macros.md
+2 −2 src/ch20-01-single-threaded.md
+6 −6 src/ch20-02-multithreaded.md
+3 −3 src/ch20-03-graceful-shutdown-and-cleanup.md
2 changes: 1 addition & 1 deletion src/doc/edition-guide
2 changes: 1 addition & 1 deletion src/doc/nomicon
2 changes: 1 addition & 1 deletion src/doc/reference

0 comments on commit 9890107

Please sign in to comment.