Chris Krycho
f207fae674
Merge pull request #4183 from RadicalTray/main
...
Ch. 21.3: remove error ferris from working code
2025-01-06 09:08:48 -07:00
Chris Krycho
c36194617c
Ch. 21.3: do not ignore working code in Listing 21-23
2025-01-06 09:06:07 -07:00
Chris Krycho
5c69489bac
Merge pull request #4191 from rust-lang/ci-mdbook-rust-match
...
infra: match mdbook version in CI to rust-lang/rust
2025-01-06 09:03:28 -07:00
Chris Krycho
27fa4caf76
infra: match mdbook version in CI to rust-lang/rust
2025-01-06 08:59:15 -07:00
Chris Krycho
832cf55f0a
Merge pull request #4190 from rust-lang/chapter-headings-fixed
...
Ch. 17: Set correct heading level for the chapter
2025-01-06 07:49:20 -07:00
Chris Krycho
6ec65c38e5
Ch. 17: Set correct heading level for the chapter
...
Fixes #4187
2025-01-06 07:45:40 -07:00
Chris Krycho
30adab3e0e
Merge pull request #4178 from vhborges/listing-17-12-println-fix
...
Switch back from `eprintln!` to `println!` in listing 17-12
2025-01-06 07:08:24 -07:00
Chris Krycho
916af4cae5
Merge pull request #4184 from max-heller/patch-1
...
fix typo in Listing invocation for listing 20-14
2025-01-06 06:47:07 -07:00
Max Heller
70cbae602e
fix typo
2024-12-30 19:08:43 -05:00
.
bbc6a52efb
Ch. 21.3: remove error ferris from good code
2024-12-30 20:42:22 +07:00
Vinicius Borges
6ccdc0ba65
Replace 'eprintln' with 'println'
2024-12-23 20:34:54 -03:00
Chris Krycho
04d06dfe54
Merge pull request #4175 from damoasda/ch20-01-fix
...
Update section name
2024-12-20 15:44:11 -07:00
Herbert Reiter
665bb1e340
Update section name
2024-12-20 18:27:25 +01:00
Chris Krycho
93f9ea4767
Merge pull request #4173 from Andriamanitra/str-char-patch
...
Update text to reflect the change from '&str' to 'char' in example
2024-12-19 10:07:59 -07:00
Mikko
2a4c00c4d0
Update text to reflect the change from '&str' to 'char' in example
2024-12-19 11:16:20 +02:00
Chris Krycho
fb444625db
Merge pull request #4172 from damoasda/ch21-00-fix
...
Update figure number in text and file name
2024-12-18 15:54:35 -07:00
Chris Krycho
8cc8cf3ad8
Merge pull request #4171 from damoasda/ch20-05-fix
...
Fix chapter number
2024-12-18 15:53:36 -07:00
Chris Krycho
dcbd0b2482
Merge pull request #4170 from damoasda/ch17-03-fix
...
Delete unused reference
2024-12-18 15:53:04 -07:00
Chris Krycho
b33443a466
Merge pull request #4169 from damoasda/ch14-03-fix3
...
Remove orphaned half-sentence
2024-12-18 15:52:22 -07:00
Chris Krycho
ea696178f4
Merge pull request #4168 from damoasda/ch06-02-fix
...
Fix chapter number
2024-12-18 15:49:08 -07:00
Chris Krycho
5aaf712fa8
Merge pull request #3428 from TruscaPetre/patch-1
...
A better phrasing for generic methods.
2024-12-18 15:48:09 -07:00
Chris Krycho
17e2dcb382
Ch. 10.1: further clarify graf about methods in impl<T> ... blocks
2024-12-18 15:42:10 -07:00
Chris Krycho
7982ad015a
Merge main into TruscaPetre:patch-1
2024-12-18 15:34:46 -07:00
Herbert Reiter
a949500cf3
Update figure number in text and file name
2024-12-18 21:20:06 +01:00
Herbert Reiter
b223384b10
Fix chapter number
2024-12-18 21:15:01 +01:00
Herbert Reiter
dc6ebf263b
Delete unused reference
2024-12-18 21:07:47 +01:00
Herbert Reiter
f87d091a95
Remove orphaned half-sentence
2024-12-18 21:01:40 +01:00
Herbert Reiter
8863a72dee
Fix chapter number
2024-12-18 20:46:24 +01:00
Chris Krycho
1855609b2c
Merge pull request #4098 from forresthopkinsa/patch-1
...
Fix minor grammatical error
2024-12-18 10:38:19 -07:00
Chris Krycho
a945c6567b
Merge pull request #3608 from LennySCSZ/main
...
Update appendix-06-translation.md to add another Chinese translation.
2024-12-18 10:34:22 -07:00
Chris Krycho
b99b3f9647
Merge branch 'main' into patch-1
2024-12-18 10:34:01 -07:00
Chris Krycho
0566029791
Ch. 5.3: dodge a grammatical tripwire
...
Which verb tense matches? Make it so we don’t have to care!
2024-12-18 10:32:57 -07:00
Chris Krycho
9175d69807
Link to GH rather than xfoss in Translations list
2024-12-18 10:25:33 -07:00
Chris Krycho
2f61a8d68c
Merge pull request #3625 from rinthel/patch-1
...
Change Korean translation repo to newer
2024-12-16 12:51:52 -07:00
Chris Krycho
3c000b4a42
Merge pull request #4167 from rust-lang/joeljosedev/main
...
Clarify/improve readability in Ch. 02 discussion of `Result` variants
2024-12-16 12:37:25 -07:00
Chris Krycho
cd5ac75f7d
Merge main into joeljosedev/main and apply changes to src
2024-12-16 12:32:12 -07:00
Chris Krycho
da7603e269
Merge pull request #4166 from rust-lang/conclude-§01-rustonomicon
...
Ch. 20: conclude §01 with a reference to the Rustonomicon
2024-12-16 11:18:21 -07:00
Chris Krycho
f75817ae2e
Ch. 20: conclude §01 with a reference to the Rustonomicon
2024-12-16 11:12:37 -07:00
Chris Krycho
ad2011d3bc
Merge pull request #4164 from rust-lang/ch10-03-static-error-messages
...
Ch. 10: clarify note about compiler errors and `'static`
2024-12-16 09:11:34 -07:00
Chris Krycho
80d6bbeacb
Ch. 10: clarify note about compiler errors and 'static
...
- Merge in `main` and resolve merge conflicts.
- Integrate both branches’ suggestions, then rephrase to stay closer to
the original output.
2024-12-16 09:05:52 -07:00
Brian G. Merrell
01f0b1bbb4
Help with ambiguity about 'static lifetimes
2024-12-14 03:05:15 -07:00
Chris Krycho
cd3b1c048b
Merge pull request #3702 from veera-sivarajan/add-letElse
...
Introduce `let`-`else` statement
2024-12-13 14:58:51 -07:00
Chris Krycho
1787dd1c62
Integrate and update 'veera-sivarajan:add-letElse'
...
- Merge in changes from `main`, including moving the chapter.
- Merge in newly-written introduction of `let-else` in the same section
as the `if let` discussion.
- Rewrap lines.
2024-12-13 14:24:21 -07:00
Chris Krycho
0b5713345a
Ch. 6: Introduce let-else after if let.
...
This is not technically part of the 2024 Edition, since it is available
on the 2021 edition as well, but it *will* be an important update for
the 2024 Edition revision of the print book!
2024-12-13 14:24:21 -07:00
Chris Krycho
e78a93c0eb
Merge pull request #3800 from pitaj/patch-1
...
Fix misleading explanation of comma in `$(),*`
2024-12-12 16:32:18 -07:00
Chris Krycho
fa7e1c3eab
Merge 'main' into 'pitaj:patch-1'
2024-12-12 16:28:53 -07:00
Egor Suvorov and Chris Krycho
b195aeb56e
ch18-03: Matching Named Variables: mention if let/while let ( #3110 )
...
* Matching Named Variables: mention `if let`/`while let`
`if let` and `while let` introduce new scope for named variables just like `match`. However, they do not support match guards yet, see RFC 2497.
* Ch. 19: further clarify discussion of `if|while let` patterns
- While keeping the note about `if let` and `while let` when introducing
the discussion of matching named variables, bring the phrasing back
closer to the original.
- Move the distinction that `if let` and `while let` do not have the
equivalent of match guards down to the discussion of match guards.
- Line wrapping.
---------
Co-authored-by: Chris Krycho <hello@chriskrycho.com >
2024-12-12 10:22:44 -07:00
Aizon and Chris Krycho
c9820adbfa
Ch. 4: Rephrase/clarify paragraph on reference scope ( #3688 )
...
Co-authored-by: Chris Krycho <hello@chriskrycho.com >
2024-12-12 09:45:20 -07:00
Chris Krycho
a5ccba9db7
Merge pull request #3699 from proski/closure-note
...
Simplify note about functions in ch13-01-closures.md
2024-12-12 09:10:55 -07:00
Chris Krycho
60b198a27f
Further clarify note about functions implementing Fn traits
2024-12-12 08:49:16 -07:00