Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1368 commits
Select commit Hold shift + click to select a range
8372e56
Ferris: always show Ferrises, even if small
chriskrycho Mar 17, 2025
ac911c4
Merge pull request #4280 from rust-lang/fixes-counting-line-simplify
chriskrycho Mar 17, 2025
828d75c
Update src/ch02-00-guessing-game-tutorial.md
chriskrycho Mar 17, 2025
6dd246c
Merge pull request #4232 from anu-sin-theta/main
chriskrycho Mar 17, 2025
39c3444
Merge pull request #4256 from km274/ch-10.1-minor-clarifications
chriskrycho Mar 17, 2025
4b2590f
Merge branch 'main' into tell-folks-abi-ref
chriskrycho Mar 17, 2025
b660608
Merge pull request #4165 from rust-lang/tell-folks-abi-ref
chriskrycho Mar 17, 2025
8904592
Ch. 18: correct discussion of delegation in `Post` methods
chriskrycho Mar 17, 2025
6156ff1
Merge pull request #4281 from rust-lang/state-option-etc
chriskrycho Mar 17, 2025
a6bede6
Ch. 9: correctly demonstrate privacy with module
chriskrycho Mar 17, 2025
d3e8ac3
Merge pull request #4282 from rust-lang/ch09-module-privacy
chriskrycho Mar 17, 2025
f6bd152
Ch. 10.3: clarify language detail
reitzig Mar 18, 2025
05f17f0
Ch. 17: minor typos and link reference (#4286)
rickrain Mar 20, 2025
21fcf73
Merge pull request #4284 from reitzig/patch-1
chriskrycho Mar 20, 2025
1d1424b
Ch. 20: correct listing number
mianlang Mar 20, 2025
3433498
Merge pull request #4287 from mianlang/fix-broken-link
chriskrycho Mar 20, 2025
126e5fd
Ch. 17: another tweak to how we phrase things about sections
chriskrycho Mar 20, 2025
e380269
Merge pull request #4288 from rust-lang/ch-tweak-sections-phrase-impr…
chriskrycho Mar 20, 2025
5bcf1bf
add id to Listing with number attribute for cross reference
Mar 12, 2025
ba072b8
change listing text to <a> tag in figcaption to provide link
mianlang Mar 20, 2025
e5492e6
Merge pull request #4271 from mianlang/main
chriskrycho Mar 21, 2025
be48c05
Ch. 02: Consistent ordering of `use` statements
chriskrycho Mar 21, 2025
6875f02
Merge pull request #4292 from rust-lang/ch-consist-ordering-use-state…
chriskrycho Mar 21, 2025
72ad14e
Ch. 07: Clarify sentences about `pub use`
chriskrycho Mar 21, 2025
9220fa1
Merge pull request #4293 from rust-lang/clarify-sentences-about-pub-use
chriskrycho Mar 21, 2025
a4f9417
Ch. 01: Show how to work offline
chriskrycho Mar 21, 2025
d27a805
Merge pull request #4294 from rust-lang/work-offline-chapter-one
chriskrycho Mar 21, 2025
e1c70a3
refactor 16-6 to using listing component
mianlang Mar 21, 2025
691c958
Merge pull request #4295 from mianlang/refactor
chriskrycho Mar 21, 2025
bf3d225
Ch. 21: call out Chrome multiple-connections issue
chriskrycho Mar 21, 2025
45f0536
Merge pull request #4297 from rust-lang/chrome-issue-callout-chapter-…
chriskrycho Mar 21, 2025
9f7f9ad
Ch01 after tech review
carols10cents Apr 8, 2025
470291a
Handled tech review comments in ch01
carols10cents Apr 8, 2025
0b2f215
Ch02 after tech review
carols10cents Apr 8, 2025
ffffb06
Backport changes from ch02 docx to md
carols10cents Apr 8, 2025
5093c1d
Update code output again; a few have been changed since the last regen
carols10cents Apr 8, 2025
cc16b26
Updated ch02 docx output to match md
carols10cents Apr 8, 2025
649abdb
Sync docx to nostarch md where relevant
carols10cents Apr 8, 2025
40d52d4
Update ch02 nostarch md+docx with src md; sending back to nostarch
carols10cents Apr 8, 2025
57674b0
Tech review edits for chapter 2
carols10cents Apr 8, 2025
aba1ee2
Backport tech review changes from docx to src md
carols10cents Apr 8, 2025
d339163
Update ch01 nostarch docx from src md; sending back to nostarch
carols10cents Apr 8, 2025
127811d
Chapter 3 from tech review
carols10cents May 6, 2025
a619cc5
Fixes for ch3 tech review; backported through
carols10cents May 6, 2025
33ed793
Update compiler errors
carols10cents May 8, 2025
ac5daca
Chapter 4 from tech review
carols10cents May 12, 2025
a2000e6
Addressed tech review comments
carols10cents May 12, 2025
f8ed2ce
Backport changes from tech review to md
carols10cents May 12, 2025
c07327f
Add back alt text that disappeared from the word doc
carols10cents May 12, 2025
9e2d87a
Update error messages
carols10cents May 12, 2025
00e763e
Chapter 5 from tech review
carols10cents May 13, 2025
76afbf0
Addressed all tech review comments
carols10cents May 13, 2025
e4681b5
Backport edits to markdown
carols10cents May 13, 2025
722e419
Update error messages
carols10cents May 14, 2025
4b70ea6
Chapter 6 from tech review
carols10cents May 16, 2025
fb4d8fb
Addressing all ch6 tr comments
carols10cents May 16, 2025
3a38038
Listing X-X is no longer in the content, no need to skip
carols10cents May 16, 2025
746bf4c
Backport changes to markdown
carols10cents May 16, 2025
230c68b
Update error messages
carols10cents May 16, 2025
e56d3fc
Chapter 7 from tech review
carols10cents May 22, 2025
b13a446
Address all tech review comments
carols10cents May 22, 2025
b575cf7
Backport to md
carols10cents May 22, 2025
fca7fe2
Update error messages
carols10cents May 22, 2025
43ffc37
Chapter 8 from tech review
carols10cents May 27, 2025
920eb68
Change a section heading to be more precise
carols10cents May 27, 2025
b93811e
Address all tech review comments
carols10cents May 27, 2025
7ab766c
f with heading
carols10cents May 27, 2025
7453f78
Propagate changes from md to docx
carols10cents May 27, 2025
37ab3af
Update error messages
carols10cents May 27, 2025
dedb533
Chapter 9 from tech review
carols10cents May 27, 2025
7f92334
Address tech review comments and update error messages
carols10cents May 27, 2025
f49a7dd
Backport edits to md
carols10cents May 27, 2025
5b57af7
Update docx with changes from md
carols10cents May 27, 2025
9abf20a
Chapter 10 from tech review
carols10cents May 28, 2025
019c152
Addressing tech review comments and updating error messages
carols10cents May 28, 2025
7041c89
Backport changes to md
carols10cents May 28, 2025
a0254e9
Correct some listings to match the prose
carols10cents May 28, 2025
6d02b88
Don't say 'above', refer to the listing number
carols10cents May 28, 2025
02da234
Use 'required' rather than 'have to' to avoid ambiguity
carols10cents May 28, 2025
634724e
Forward port changes from md in docx
carols10cents May 28, 2025
f4ff245
Adding Uzbek translated rust-book repository to the list
bahrom04 Jun 1, 2025
43c55d2
Chapter 11 from tech review
carols10cents Jun 3, 2025
45a1108
Address all ch11 tech review comments
carols10cents Jun 3, 2025
4433c9f
Sync md and docx
carols10cents Jun 3, 2025
243cb71
Chapter 12 from tech review
carols10cents Jun 3, 2025
7ebbf01
Revisions to address tech review comments
carols10cents Jun 14, 2025
edf6121
Adjust listings to reflect new main/lib split
carols10cents Jun 14, 2025
8a6d44e
Propagate docx changes back through md
carols10cents Jun 16, 2025
a8ab269
Chapter 13 from tech review
carols10cents Jun 24, 2025
bacc990
Address ch 13 tech review comments
carols10cents Jun 24, 2025
5e45b63
Backport ch13 tech review changes to md
carols10cents Jun 26, 2025
c0aba43
Chapter 14 from tech review
carols10cents Jun 28, 2025
76ec097
Update documentation screenshots
carols10cents Jun 28, 2025
d49c5b6
Address ch 14 tech review comments
carols10cents Jun 28, 2025
6d0dc04
Update output; update filename and crates.io behavior
carols10cents Jun 28, 2025
ef1ce8f
Backport changes to md
carols10cents Jun 28, 2025
c1ea9b6
Chapter 15 from tech review
carols10cents Jul 1, 2025
e739084
Address tech review comments; improve alt text
carols10cents Jul 1, 2025
b9e773b
Backport changes to md
carols10cents Jul 1, 2025
a1a0d07
Update compiler output
carols10cents Jul 2, 2025
dacf7c5
Rename trpl::run to trpl::block_on to align with existing terminology
carols10cents Apr 1, 2025
eaee977
Docx as received after tech review
carols10cents Apr 1, 2025
7f92f43
I needed to force this install to overwrite a previous version
carols10cents Apr 1, 2025
1143014
Rename trpl::race to trpl::select to align with existing terminology
carols10cents Apr 1, 2025
d7894c5
save edits to docx
carols10cents Apr 1, 2025
4ad297a
edits through listing 17-10ish
carols10cents Apr 3, 2025
4b00dd3
moreidets
carols10cents Apr 8, 2025
1920d5e
saving more edits
carols10cents Apr 22, 2025
6e867c0
Add more context to these examples
carols10cents Apr 28, 2025
a6b375b
title_element should be title throughout
carols10cents Apr 28, 2025
98ac75d
Keep printed text consistent with previous listings
carols10cents Apr 28, 2025
35f344d
Make println text consistent between related examples
carols10cents Apr 28, 2025
d2fdc99
Make wait time consistent between examples
carols10cents Apr 29, 2025
2c7de37
Addressed tech review
carols10cents Apr 29, 2025
b90b7cc
Chapter 16 from tech review
carols10cents Jul 5, 2025
8122eaf
Address all tech review comments
carols10cents Jul 5, 2025
8023637
Backport tech review changes
carols10cents Jul 5, 2025
b2d1a08
Update compiler errors
carols10cents Jul 8, 2025
3bc80fa
Chapter 18 from tech review
carols10cents Jul 10, 2025
346a99d
Address all tech review comments
carols10cents Jul 12, 2025
1547da7
New style to handle in xsl
carols10cents Jul 12, 2025
0538b25
Backport changaes to md
carols10cents Jul 14, 2025
d8e3a75
Chapter 19 from tech review
carols10cents Jul 15, 2025
4aadea1
Address all tech review comments
carols10cents Jul 15, 2025
e694be5
Backport changes to md
carols10cents Jul 15, 2025
3d5993f
Fix typo in section 17.2
eswolinsky3241 Jul 27, 2025
bfd1191
Chapter 20 from tech review
carols10cents Jul 22, 2025
8698ac9
Address tech review comments
carols10cents Jul 22, 2025
e7d3751
Backport changes to md
carols10cents Jul 22, 2025
6032617
Switch Miri example to Listing 20-7 rather than 20-11
carols10cents Jul 29, 2025
63bedb8
Ignore a listing that only has Cargo.toml; it makes rustfmt sad
carols10cents Jul 29, 2025
60cb255
Fix keyword usage not run by mdbook test but caught by rustfmt
carols10cents Jul 29, 2025
ac5e9b6
I think I forgot to reformat these after backporting some updates
carols10cents Jul 29, 2025
beefa24
Fix path replacement in miri example
carols10cents Jul 30, 2025
5ea2227
Chapter 21 from tech review
carols10cents Jul 30, 2025
6e68368
Address tech review comments
carols10cents Jul 31, 2025
1594c30
Backport changes to md
carols10cents Jul 31, 2025
c80147d
Update compiler output
carols10cents Aug 1, 2025
d9cdd1a
More backporting
carols10cents Aug 1, 2025
4820d2e
Appendix B from tech review
carols10cents Aug 2, 2025
55d1af2
Address all tech review comments
carols10cents Aug 2, 2025
906d43f
Backport changes to md
carols10cents Aug 2, 2025
50001e1
Appendix D from tech review
carols10cents Aug 2, 2025
19a3364
Address the one tech review comment
carols10cents Aug 2, 2025
f65e2e3
Backport changes to md
carols10cents Aug 2, 2025
3e9dc46
Add metavariable to the dictionary
carols10cents Aug 2, 2025
f5a4f95
Revert "Fix typo in section 17.2"
eswolinsky3241 Aug 2, 2025
ccecf76
Fix typo in section 17.2
eswolinsky3241 Aug 2, 2025
88b89c7
I have added Bengali Translation of The Book.
IsmailHosenIsmailJames Aug 14, 2025
bcc1636
add+ vietnamese translate
tuanemdev May 17, 2025
33f1af4
Release trpl 0.3
carols10cents Sep 15, 2025
1cf4b78
Chunk of chapters from copyedit
carols10cents Sep 16, 2025
561d2e4
Address copyedit queries in ch1
carols10cents Sep 16, 2025
369386f
Backport copyedit changes to ch1 md
carols10cents Sep 16, 2025
8886ff9
Fix extra file path I noticed checking copyedit
carols10cents Sep 17, 2025
62837c4
Backport ch2 changes from copyedit to md
carols10cents Sep 17, 2025
75a8bb8
Fix error message output in ch 3
carols10cents Sep 18, 2025
9cc1907
Backport ch 3 copyedit changes to md
carols10cents Sep 18, 2025
6389b2c
Small edits to address copyedit queries in ch4
carols10cents Sep 19, 2025
bb86b17
Backport ch4 copyedits to md
carols10cents Sep 19, 2025
8a61304
Backport copyedit changes to ch5 md
carols10cents Sep 20, 2025
9947801
Address copyedit queries in ch6
carols10cents Sep 22, 2025
602a0d2
Backport copyedit changes to ch6
carols10cents Sep 22, 2025
2fe45ed
Add 'optiont' to the dictionary; it's in a link anchor
carols10cents Sep 22, 2025
66f45f3
Address copyedit queries in ch7
carols10cents Sep 23, 2025
79b9d15
Backport copyedit changes to ch7
carols10cents Sep 23, 2025
a9ecf7e
Update a section heading and link
carols10cents Sep 23, 2025
c4070b7
Address copyedit queries in ch8
carols10cents Sep 24, 2025
2581c23
Backport copyedit changes to ch8
carols10cents Sep 24, 2025
a034fcb
Address copyedit queries in ch9
carols10cents Sep 25, 2025
13e27c4
Backport copyedit changes to ch9
carols10cents Sep 25, 2025
d467859
Apply section heading edits throughout
carols10cents Sep 26, 2025
b22ac0c
Add more link anchors to the dictionary
carols10cents Sep 28, 2025
08805fb
Address copyedit queries in the frontmatter
carols10cents Sep 28, 2025
112ceae
Backport frontmatter changes to md
carols10cents Sep 28, 2025
1d7c3e6
We are, indeed, ready to Rumbul.
carols10cents Sep 28, 2025
d09d472
2nd chunk of chapters from copyedit
carols10cents Sep 28, 2025
e29d319
Address copyedit queries in ch10
carols10cents Sep 29, 2025
3986f21
Backport copyedit changes to ch10
carols10cents Sep 29, 2025
fb15d1d
Address copyedit queries in ch11
carols10cents Sep 30, 2025
9907158
Backport copyedit changes to ch11 md
carols10cents Sep 30, 2025
3a71930
Address copyedit queries in ch12
carols10cents Oct 1, 2025
d7c0e47
Backport copyedit changes to ch12
carols10cents Oct 1, 2025
4b71f17
Backport copyedit changes to ch13
carols10cents Oct 2, 2025
bfdc3bb
Add ETAPS to the dictionary
carols10cents Oct 3, 2025
43b9ad3
Backport copyedit changes to ch14
carols10cents Oct 3, 2025
838d50b
Address copyedit queries in ch15
carols10cents Oct 3, 2025
ecef81c
Backport copyedit changes to ch15
carols10cents Oct 3, 2025
aae8285
Address copyedit queries in ch16
carols10cents Oct 4, 2025
9bd3240
Backport copyedit changes to ch16
carols10cents Oct 4, 2025
7286e47
Address copyedit queries in ch18
carols10cents Oct 4, 2025
003f60c
Add back index tags to ch18
carols10cents Oct 5, 2025
eb54c18
Backport copyedit changes to ch18
carols10cents Oct 5, 2025
6616b19
Address copyedit queries in ch19
carols10cents Oct 7, 2025
f8f5ada
Backport copyedit changes to ch19
carols10cents Oct 7, 2025
754db57
Address copyedit queries in ch20
carols10cents Oct 7, 2025
57ff62d
Backport copyedit changes to ch20
carols10cents Oct 7, 2025
c466ae8
Address copyedit queries in ch21
carols10cents Oct 13, 2025
8aa0d00
Backport copyedit changes to ch21
carols10cents Oct 13, 2025
74a54e5
Add webpage to dictionary
carols10cents Oct 13, 2025
d63db93
Address copyedit queries in Appendix A
carols10cents Oct 13, 2025
c0f0135
Backport copyedit changes to Appendix A
carols10cents Oct 13, 2025
799aa75
Backport copyedit changes to Appendix B
carols10cents Oct 13, 2025
0846f81
Address copyedit queries in Appendix C
carols10cents Oct 14, 2025
042803a
Backport copyedit changes to Appendix C
carols10cents Oct 14, 2025
7b2b480
Backport copyedit changes to Appendix D
carols10cents Oct 14, 2025
555182e
Backport copyedit changes to Appendix E
carols10cents Oct 14, 2025
bd5cabb
Fix section heading in chapter 17
carols10cents Oct 12, 2025
0d5a0dd
Backport edits to chapter 17
carols10cents Oct 12, 2025
f427cc8
Remove listings no longer used in Ch 17
carols10cents Oct 19, 2025
b2b0ca5
Move around listings that were rearranged
carols10cents Oct 19, 2025
23657d4
Rename trpl::run to trpl::block_on even in parts of listings not shown
carols10cents Oct 19, 2025
9fc2a4e
Regenerate ch17 snapshot
carols10cents Oct 19, 2025
a014f0a
Add urls to the dictionary
carols10cents Oct 19, 2025
2c56b53
text not rust
carols10cents Oct 19, 2025
121f07a
Save regenerations of the rest of the nostarch snapshots
carols10cents Oct 19, 2025
2a103c6
added Italian translation link
nixxo Aug 27, 2025
13c4c06
Update CONTRIBUTING.md
cheater Sep 21, 2025
c3f7e54
Merge branch 'main' into add_vietnamese
carols10cents Oct 19, 2025
984b579
Merge remote-tracking branch 'origin/pr/4476'
carols10cents Oct 19, 2025
6818718
Merge remote-tracking branch 'origin/pr/4387'
carols10cents Oct 19, 2025
af415fc
Prepare for renaming of rust-lang/rust default branch
carols10cents Oct 20, 2025
8695fc2
Remove unused subheadings
carols10cents Oct 24, 2025
92371d4
Update to Rust 1.86
carols10cents Oct 28, 2025
3aa68a3
Update to Rust 1.87
carols10cents Oct 28, 2025
c143e8d
Update to Rust 1.88
carols10cents Oct 28, 2025
6c890c7
Update to Rust 1.89
carols10cents Oct 28, 2025
f660f34
Update to Rust 1.90
carols10cents Oct 28, 2025
06c7432
Fix confusing sentence about let else
carols10cents Nov 8, 2025
10e9118
Fix confusing sentence about let else
carols10cents Nov 8, 2025
f6106e9
Remove unnecessary adjective
carols10cents Nov 8, 2025
747785c
Merge remote-tracking branch 'origin/pr/4564'
carols10cents Nov 8, 2025
3e7aac1
Fix minor style inconsistency
enarve Oct 29, 2025
dec9313
Update listing caption to match what's ending up in print
carols10cents Nov 8, 2025
95dd8a0
Change the hypothetical rand version number to be actually hypothetical
carols10cents Nov 8, 2025
646355a
Merge branch 'main' into fix-typo-17-02
carols10cents Nov 8, 2025
f78ab89
Consistently use let...else
carols10cents Nov 10, 2025
37c01cb
use AND for search terms
tshepang Nov 17, 2025
8c0eacd
Update ch07-02-defining-modules-to-control-scope-and-privacy.md
thirtysixbananas Nov 14, 2025
9c9104e
Update to mdbook 0.5
ehuss Nov 22, 2025
39aecea
Synchronize TrplNote name
ehuss Dec 12, 2025
dbfb58f
Squash merge i18n/id-ch02 into i18n/id-ch02-ch12-ch21
dudinsdn Jan 5, 2026
c5efafa
Squash merge i18n/id-ch12 into i18n/id-ch02-ch12-ch21
dudinsdn Jan 5, 2026
5d4d7c0
Squash merge i18n/id-ch21 into i18n/id-ch02-ch12-ch21
dudinsdn Jan 5, 2026
8d714b3
Squash merge chore/formatting into i18n/id-ch02-ch12-ch21
dudinsdn Jan 5, 2026
e4bef9b
Squash merge i18n/id-ch21 into i18n/id-ch02-ch12-ch21
dudinsdn Jan 6, 2026
a414aa0
file formatting using 'dprint'
dudinsdn Jan 6, 2026
f6543e9
Indonesian-Translation: update summary ch21
dudinsdn Jan 6, 2026
2df9eb8
dprint fmt src/SUMMARY.md
dudinsdn Jan 6, 2026
a594a43
remove emoji
dudinsdn Jan 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
File renamed without changes.
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Ran dprint fmt on the repo
3a30e4c1fbe641afc066b3af9eb01dcdf5ed8b24
51 changes: 42 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: CI
on: [push, pull_request]

env:
MDBOOK_VERSION: 0.5.1

jobs:
test:
name: Run tests
Expand All @@ -12,20 +15,50 @@ jobs:
- name: Install Rust
run: |
rustup set profile minimal
rustup toolchain install 1.67 -c rust-docs
rustup default 1.67
rustup toolchain install 1.90 -c rust-docs
rustup default 1.90
- name: Install mdbook
run: |
mkdir bin
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.21/mdbook-v0.4.21-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin
echo "$(pwd)/bin" >> ${GITHUB_PATH}
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v${MDBOOK_VERSION}/mdbook-v${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin
echo "$(pwd)/bin" >> "${GITHUB_PATH}"
- name: Report versions
run: |
rustup --version
rustc -Vv
mdbook --version

# mdBook does not currently have particularly good support for “external”
# crates. To make the test suite work correctly with `trpl`, we must first
# build `trpl` itself (`mdbook` will not do it), and then explicitly pass
# its `deps` path as a library search path for `mdbook test`. That will make
# sure all the crates can be resolved when running the tests.
- name: Build `trpl` crate
run: |
cd packages/trpl
cargo build
- name: Run tests
run: mdbook test
run:
mdbook test --library-path packages/trpl/target/debug/deps
package_tests:
name: Run package tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Update rustup
run: rustup self update
- name: Install Rust
run: |
rustup set profile minimal
rustup toolchain install 1.90 -c rust-docs
rustup default 1.90
- name: Run `tools` package tests
run: |
cargo test
- name: Run `mdbook-trpl` package tests
working-directory: packages/mdbook-trpl
run: |
cargo test
lint:
name: Run lints
runs-on: ubuntu-latest
Expand All @@ -41,8 +74,8 @@ jobs:
- name: Install mdbook
run: |
mkdir bin
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.21/mdbook-v0.4.21-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin
echo "$(pwd)/bin" >> ${GITHUB_PATH}
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v${MDBOOK_VERSION}/mdbook-v${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin
echo "$(pwd)/bin" >> "${GITHUB_PATH}"
- name: Install aspell
run: sudo apt-get install aspell
- name: Install shellcheck
Expand All @@ -55,7 +88,7 @@ jobs:
aspell --version
shellcheck --version
- name: Shellcheck
run: find . -name '*.sh' | xargs shellcheck
run: find . -name '*.sh' -print0 | xargs -0 shellcheck
- name: Spellcheck
run: bash ci/spellcheck.sh list
- name: Lint for local file paths
Expand All @@ -67,6 +100,6 @@ jobs:
- name: Check for broken links
run: |
curl -sSLo linkcheck.sh \
https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh
https://raw.githubusercontent.com/rust-lang/rust/HEAD/src/tools/linkchecker/linkcheck.sh
# Cannot use --all here because of the generated redirect pages aren't available.
sh linkcheck.sh book
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ book/
target
tmp

.nova
.vscode
.zed
2 changes: 1 addition & 1 deletion 2018-edition/book.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[book]
title = "The Rust Programming Language"
author = "Steve Klabnik and Carol Nichols, with Contributions from the Rust Community"
authors = ["Steve Klabnik", "Carol Nichols", "Contributions from the Rust Community"]

[output.html]
additional-css = ["ferris.css"]
Expand Down
4 changes: 2 additions & 2 deletions 2018-edition/src/ch17-00-oop.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
The 2018 edition of the book is no longer distributed with Rust's documentation.

If you came here via a link or web search, you may want to check out [the current
version of the book](../ch17-00-oop.html) instead.
version of the book](../ch18-00-oop.html) instead.

If you have an internet connection, you can [find a copy distributed with
Rust
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch17-00-oop.html).
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch17-00-oop.html).
4 changes: 2 additions & 2 deletions 2018-edition/src/ch17-01-what-is-oo.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
The 2018 edition of the book is no longer distributed with Rust's documentation.

If you came here via a link or web search, you may want to check out [the current
version of the book](../ch17-01-what-is-oo.html) instead.
version of the book](../ch18-01-what-is-oo.html) instead.

If you have an internet connection, you can [find a copy distributed with
Rust
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch17-01-what-is-oo.html).
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch17-01-what-is-oo.html).
4 changes: 2 additions & 2 deletions 2018-edition/src/ch17-02-trait-objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
The 2018 edition of the book is no longer distributed with Rust's documentation.

If you came here via a link or web search, you may want to check out [the current
version of the book](../ch17-02-trait-objects.html) instead.
version of the book](../ch18-02-trait-objects.html) instead.

If you have an internet connection, you can [find a copy distributed with
Rust
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch17-02-trait-objects.html).
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch17-02-trait-objects.html).
4 changes: 2 additions & 2 deletions 2018-edition/src/ch17-03-oo-design-patterns.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
The 2018 edition of the book is no longer distributed with Rust's documentation.

If you came here via a link or web search, you may want to check out [the current
version of the book](../ch17-03-oo-design-patterns.html) instead.
version of the book](../ch18-03-oo-design-patterns.html) instead.

If you have an internet connection, you can [find a copy distributed with
Rust
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch17-03-oo-design-patterns.html).
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch17-03-oo-design-patterns.html).
4 changes: 2 additions & 2 deletions 2018-edition/src/ch18-00-patterns.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
The 2018 edition of the book is no longer distributed with Rust's documentation.

If you came here via a link or web search, you may want to check out [the current
version of the book](../ch18-00-patterns.html) instead.
version of the book](../ch19-00-patterns.html) instead.

If you have an internet connection, you can [find a copy distributed with
Rust
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch18-00-patterns.html).
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch18-00-patterns.html).
4 changes: 2 additions & 2 deletions 2018-edition/src/ch18-01-all-the-places-for-patterns.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
The 2018 edition of the book is no longer distributed with Rust's documentation.

If you came here via a link or web search, you may want to check out [the current
version of the book](../ch18-01-all-the-places-for-patterns.html) instead.
version of the book](../ch19-01-all-the-places-for-patterns.html) instead.

If you have an internet connection, you can [find a copy distributed with
Rust
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch18-01-all-the-places-for-patterns.html).
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch18-01-all-the-places-for-patterns.html).
4 changes: 2 additions & 2 deletions 2018-edition/src/ch18-02-refutability.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
The 2018 edition of the book is no longer distributed with Rust's documentation.

If you came here via a link or web search, you may want to check out [the current
version of the book](../ch18-02-refutability.html) instead.
version of the book](../ch19-02-refutability.html) instead.

If you have an internet connection, you can [find a copy distributed with
Rust
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch18-02-refutability.html).
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch18-02-refutability.html).
4 changes: 2 additions & 2 deletions 2018-edition/src/ch18-03-pattern-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
The 2018 edition of the book is no longer distributed with Rust's documentation.

If you came here via a link or web search, you may want to check out [the current
version of the book](../ch18-03-pattern-syntax.html) instead.
version of the book](../ch19-03-pattern-syntax.html) instead.

If you have an internet connection, you can [find a copy distributed with
Rust
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch18-03-pattern-syntax.html).
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch18-03-pattern-syntax.html).
4 changes: 2 additions & 2 deletions 2018-edition/src/ch19-00-advanced-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
The 2018 edition of the book is no longer distributed with Rust's documentation.

If you came here via a link or web search, you may want to check out [the current
version of the book](../ch19-00-advanced-features.html) instead.
version of the book](../ch20-00-advanced-features.html) instead.

If you have an internet connection, you can [find a copy distributed with
Rust
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch19-00-advanced-features.html).
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch19-00-advanced-features.html).
4 changes: 2 additions & 2 deletions 2018-edition/src/ch19-01-unsafe-rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
The 2018 edition of the book is no longer distributed with Rust's documentation.

If you came here via a link or web search, you may want to check out [the current
version of the book](../ch19-01-unsafe-rust.html) instead.
version of the book](../ch20-01-unsafe-rust.html) instead.

If you have an internet connection, you can [find a copy distributed with
Rust
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch19-01-unsafe-rust.html).
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch19-01-unsafe-rust.html).
4 changes: 2 additions & 2 deletions 2018-edition/src/ch19-03-advanced-traits.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
The 2018 edition of the book is no longer distributed with Rust's documentation.

If you came here via a link or web search, you may want to check out [the current
version of the book](../ch19-03-advanced-traits.html) instead.
version of the book](../ch20-02-advanced-traits.html) instead.

If you have an internet connection, you can [find a copy distributed with
Rust
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch19-03-advanced-traits.html).
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch19-03-advanced-traits.html).
4 changes: 2 additions & 2 deletions 2018-edition/src/ch19-04-advanced-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
The 2018 edition of the book is no longer distributed with Rust's documentation.

If you came here via a link or web search, you may want to check out [the current
version of the book](../ch19-04-advanced-types.html) instead.
version of the book](../ch20-03-advanced-types.html) instead.

If you have an internet connection, you can [find a copy distributed with
Rust
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch19-04-advanced-types.html).
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch19-04-advanced-types.html).
4 changes: 2 additions & 2 deletions 2018-edition/src/ch19-05-advanced-functions-and-closures.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
The 2018 edition of the book is no longer distributed with Rust's documentation.

If you came here via a link or web search, you may want to check out [the current
version of the book](../ch19-05-advanced-functions-and-closures.html) instead.
version of the book](../ch20-04-advanced-functions-and-closures.html) instead.

If you have an internet connection, you can [find a copy distributed with
Rust
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch19-05-advanced-functions-and-closures.html).
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch19-05-advanced-functions-and-closures.html).
4 changes: 2 additions & 2 deletions 2018-edition/src/ch19-06-macros.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
The 2018 edition of the book is no longer distributed with Rust's documentation.

If you came here via a link or web search, you may want to check out [the current
version of the book](../ch19-06-macros.html) instead.
version of the book](../ch20-05-macros.html) instead.

If you have an internet connection, you can [find a copy distributed with
Rust
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch19-06-macros.html).
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch19-06-macros.html).
4 changes: 2 additions & 2 deletions 2018-edition/src/ch20-00-final-project-a-web-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
The 2018 edition of the book is no longer distributed with Rust's documentation.

If you came here via a link or web search, you may want to check out [the current
version of the book](../ch20-00-final-project-a-web-server.html) instead.
version of the book](../ch21-00-final-project-a-web-server.html) instead.

If you have an internet connection, you can [find a copy distributed with
Rust
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch20-00-final-project-a-web-server.html).
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch20-00-final-project-a-web-server.html).
4 changes: 2 additions & 2 deletions 2018-edition/src/ch20-01-single-threaded.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
The 2018 edition of the book is no longer distributed with Rust's documentation.

If you came here via a link or web search, you may want to check out [the current
version of the book](../ch20-01-single-threaded.html) instead.
version of the book](../ch21-01-single-threaded.html) instead.

If you have an internet connection, you can [find a copy distributed with
Rust
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch20-01-single-threaded.html).
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch20-01-single-threaded.html).
4 changes: 2 additions & 2 deletions 2018-edition/src/ch20-02-multithreaded.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
The 2018 edition of the book is no longer distributed with Rust's documentation.

If you came here via a link or web search, you may want to check out [the current
version of the book](../ch20-02-multithreaded.html) instead.
version of the book](../ch21-02-multithreaded.html) instead.

If you have an internet connection, you can [find a copy distributed with
Rust
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch20-02-multithreaded.html).
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch20-02-multithreaded.html).
4 changes: 2 additions & 2 deletions 2018-edition/src/ch20-03-graceful-shutdown-and-cleanup.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
The 2018 edition of the book is no longer distributed with Rust's documentation.

If you came here via a link or web search, you may want to check out [the current
version of the book](../ch20-03-graceful-shutdown-and-cleanup.html) instead.
version of the book](../ch21-03-graceful-shutdown-and-cleanup.html) instead.

If you have an internet connection, you can [find a copy distributed with
Rust
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch20-03-graceful-shutdown-and-cleanup.html).
1.30](https://doc.rust-lang.org/1.30.0/book/2018-edition/ch20-03-graceful-shutdown-and-cleanup.html).
Loading