Skip to content

Commit

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

## nomicon

2 commits in 0c7e5bd1428e7838252bb57b7f0fbfda4ec82f02..fe6227eb3c8533200c52dffa42ef1b6f2f02c40e
2021-08-04 10:18:22 -0700 to 2021-08-31 05:42:38 +0900
- update lifetime-elision to show what elided code under `rust_2018_idi… (rust-lang/nomicon#306)
- Change code for `into_iter` on the `RawVec` section for consistency/soundness (rust-lang/nomicon#302)

## cargo

8 commits in f559c109cc79fe413a8535fb620a5a58b3823d94..18751dd3f238d94d384a7fe967abfac06cbfe0b9
2021-08-26 22:54:55 +0000 to 2021-09-01 14:26:00 +0000
- print the full destination path when no track duplicates (rust-lang/cargo#9850)
- Stabilize 2021 edition (rust-lang/cargo#9800)
- Stabilize patch-in-config (and prefer config over manifest) (rust-lang/cargo#9839)
- Adding the cargo doc --examples subcommand (rust-lang/cargo#9808)
- Make library created with `cargo new` clippy happy (rust-lang/cargo#9796)
- Swap out some outdated repo urls in documentation (rust-lang/cargo#9862)
- Change `cargo fix --edition` to only fix edition lints. (rust-lang/cargo#9846)
- Show desc of well known subcommands (fmt, clippy) in cargo --list (rust-lang/cargo#9848)

## reference

1 commits in da6ea9b03f74cae0a292f40315723d7a3a973637..0e5ed7a4bec065f0cc18c35d1c904639e095314d
2021-08-19 21:28:10 -0700 to 2021-08-29 17:33:21 +0900
- expressions.md: Attempt fixing broken grammar in Mutability paragraph (rust-lang/reference#1084)

## book

1 commits in 687e21bde2ea10c261f79fa14797c5137425098d..fcb5e0ea68112d85a1d29a7a7335978ef2a02181
2021-08-18 20:48:38 -0400 to 2021-08-31 21:26:19 -0400
- Improve the reading of the code (rust-lang/book#2845)

## rustc-dev-guide

7 commits in cf0e151b7925a40f13fbc6573c6f97d5f94c7c17..95f1acf9a39d6f402f654e917e2c1dfdb779c5fc
2021-08-22 11:47:02 -0300 to 2021-08-31 12:38:30 -0500
- Add link to `Span`
- Add rustc-source to suggested rust-analyzer config (rust-lang/rustc-dev-guide#1189)
- Fix typo, clarify backtick wording, and use inline code
- Trailing date comments in a line inside of a paragraph caused beginning of a new paragraph. (rust-lang/rustc-dev-guide#1196)
- Fix warning "Renderer command uses a path relative to the renderer output directory ..." (rust-lang/rustc-dev-guide#1194)
- Fix a code block containing ```rust
- date-check: Recognize capitalized 'Date' as well

## edition-guide

1 commits in 3710b0cae783d0bcd2b42452a63b081473f5970a..2d9b1b9da706de24650fdc5c3b0182f55c82115d
2021-07-26 11:34:46 -0700 to 2021-08-31 10:44:09 +0200
- Update for 2021 stabilization (rust-lang/edition-guide#266)

## embedded-book

1 commits in 4f9fcaa30d11ba52b641e6fd5206536d65838af9..c3a51e23859554369e6bbb5128dcef0e4f159fb5
2021-08-06 17:43:12 +0000 to 2021-08-26 07:04:58 +0000
- Make glossary more linkable and add more detail  (rust-embedded/book#299)
  • Loading branch information
bors committed Sep 1, 2021
2 parents ad3407f + bea3790 commit 50171c3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/doc/book
2 changes: 1 addition & 1 deletion src/doc/embedded-book
2 changes: 1 addition & 1 deletion src/doc/nomicon
2 changes: 1 addition & 1 deletion src/doc/reference
Submodule reference updated 1 files
+1 −1 src/expressions.md
2 changes: 1 addition & 1 deletion src/tools/cargo
Submodule cargo updated 37 files
+20 −1 src/bin/cargo/cli.rs
+3 −1 src/bin/cargo/commands/doc.rs
+9 −0 src/cargo/core/compiler/build_context/target_info.rs
+8 −6 src/cargo/core/features.rs
+11 −16 src/cargo/core/workspace.rs
+7 −1 src/cargo/ops/cargo_install.rs
+2 −1 src/cargo/ops/cargo_new.rs
+30 −9 src/cargo/ops/fix.rs
+1 −1 src/cargo/util/canonical_url.rs
+11 −4 src/cargo/util/command_prelude.rs
+10 −0 src/doc/man/cargo-doc.md
+7 −0 src/doc/man/generated_txt/cargo-doc.txt
+1 −1 src/doc/man/generated_txt/cargo-init.txt
+1 −1 src/doc/man/generated_txt/cargo-new.txt
+1 −1 src/doc/man/includes/options-new.md
+10 −0 src/doc/src/commands/cargo-doc.md
+1 −1 src/doc/src/commands/cargo-init.md
+1 −1 src/doc/src/commands/cargo-new.md
+13 −13 src/doc/src/guide/cargo-toml-vs-cargo-lock.md
+1 −1 src/doc/src/guide/tests.md
+4 −4 src/doc/src/guide/working-on-an-existing-project.md
+28 −0 src/doc/src/reference/config.md
+2 −2 src/doc/src/reference/manifest.md
+3 −2 src/doc/src/reference/resolver.md
+2 −2 src/doc/src/reference/specifying-dependencies.md
+13 −55 src/doc/src/reference/unstable.md
+11 −0 src/etc/man/cargo-doc.1
+1 −1 src/etc/man/cargo-init.1
+1 −1 src/etc/man/cargo-new.1
+25 −0 tests/testsuite/cargo_command.rs
+102 −0 tests/testsuite/doc.rs
+52 −6 tests/testsuite/fix.rs
+4 −2 tests/testsuite/init.rs
+5 −3 tests/testsuite/install.rs
+1 −1 tests/testsuite/install_upgrade.rs
+7 −2 tests/testsuite/new.rs
+9 −62 tests/testsuite/patch.rs

0 comments on commit 50171c3

Please sign in to comment.