Commit Graph
5975 Commits
Author SHA1 Message Date
Chris Krycho dac5234891 Rust 1.85/2024 Edition: manual regeneration changes 2025-02-25 07:50:55 -07:00
Chris Krycho 080147a27d Update to Rust 1.85 and 2024 Edition! 2025-02-24 13:55:20 -07:00
Chris Krycho 18f6e63e91 Merge pull request #4224 from rust-lang/nostarch-backports
NoStarch backports
2025-02-13 12:29:47 -07:00
Chris Krycho 5d22a358fb Backport fixes from NoStarch
This is an exhaustive pass in preparation for going the *other* way for
the 2024 Edition print update, i.e. the Third Edition of the print book.
2025-02-13 12:25:25 -07:00
Chris Krycho d4d2c18cbd Merge pull request #4226 from GoldsteinE/fix/rustfix-example
Fix example for `cargo fix`
2025-02-12 09:22:54 -07:00
Max Siling 8698ba57fc Fix example for cargo fix
Adding underscore to the start of an unused variable name is no longer
`MachineApplicable`, so the example no longer works.

This changes it to use `unused_mut` instead.
2025-02-11 13:01:18 +03:00
Chris Krycho 15e16cbb33 infra: improve the output of the doc-to-md script
- XSLT shenanigans: handle or ignore some new elements
- Get rid of non-breaking spaces when going to Markdown
2025-02-03 12:25:42 -07:00
Chris Krycho e2fa4316c5 Merge pull request #4218 from gerwitz/patch-3
Add missing word in ch17-04-streams.md
2025-02-03 08:02:07 -07:00
Chris Krycho c632570b78 Merge pull request #4216 from PedroChaps/typo-Ch5.3
Fix typo in ch5.3 and in CONTRIBUTING.md
2025-02-01 10:33:39 -07:00
Hans Gerwitz 56cfe50929 Add missing word in ch17-04-streams.md 2025-02-01 15:30:38 +01:00
PedroChaps b739fe464a Revert "Fix typo"
This reverts commit ed3d672d80.
2025-01-31 22:15:00 +00:00
PedroChaps a01931aafc fix dprint command 2025-01-28 01:10:27 +00:00
PedroChaps ed3d672d80 Fix typo 2025-01-28 01:06:11 +00:00
Chris Krycho fa312a343f Merge pull request #4211 from rust-lang/reformatted-src-with-dprint
chore: reformat src with dprint
2025-01-22 10:14:29 -07:00
Chris Krycho d4b0a0f26b chore: reformat src with dprint 2025-01-22 10:10:47 -07:00
Chris Krycho 9b552dd133 Merge pull request #4209 from rust-lang/redirect-fix-chapter-gap-chaptest
Redirects: get rid of the weird gap in Ch. 20 sections!
2025-01-22 09:19:58 -07:00
Chris Krycho dc0613106f Redirects: get rid of the weird gap in Ch. 20 sections!
Bonus: fix internal *numbering* references in several places where I had
missed it when renumbering the links for the new Ch. 17.
2025-01-22 09:17:08 -07:00
Marijn SchoutenandChris Krycho 33b7becc5f Document that use is also for precise capturing (#4210)
Co-authored-by: Chris Krycho <hello@chriskrycho.com>
2025-01-22 08:09:26 -07:00
Chris Krycho 82a4a49789 Merge pull request #4206 from rust-lang/ch17-edits
Ch. 17: NoStarch Edits!
2025-01-21 15:49:39 -07:00
Chris Krycho 6a19390c62 Ch. 17 (NoStarch edits): fix an internal link 2025-01-21 15:46:57 -07:00
Chris Krycho 7338a025d4 Ch. 17 (NoStarch edits): spelling fixes and dictionary updates 2025-01-21 15:42:12 -07:00
Chris Krycho 483b1c60e1 Ch. 17 (NoStarch edits): rewrite the introduction! 2025-01-21 15:30:05 -07:00
Chris Krycho c8b4da5d97 Ch. 17 (NoStarch edits): rename the chapter 2025-01-21 13:57:15 -07:00
Chris Krycho 75166b52f9 Ch. 17 (NoStarch edits): rename 17.02 2025-01-21 13:57:15 -07:00
Chris Krycho d3ecf99d1b Ch. 17.01 (NoStarch Edits): standardize ‘stream’ and Stream usage
Happily, I was *much* more consistent on this. Curious!
2025-01-21 13:57:15 -07:00
Chris Krycho 3927b5052e Ch. 17.01 (NoStarch Edits): standardize ‘future’ and Future usage 2025-01-21 13:57:15 -07:00
Chris Krycho f148e469e5 Ch. 17 (NoStarch edits): final pass on inline edits
There are a handful more edits that are very slightly larger in scope,
including possibly renaming the chapter and updating the intro. This
does it for the line edits, though!
2025-01-21 13:57:15 -07:00
Chris Krycho 06d73f3935 Ch. 17.06 (NoStarch edits) 2025-01-21 13:57:15 -07:00
Chris Krycho eec734e469 Ch. 17.05 (NoStarch edits): third section 2025-01-21 13:57:15 -07:00
Chris Krycho 03d56fa33c Ch. 17.05 (NoStarch edits): second section 2025-01-21 13:57:15 -07:00
Chris Krycho a2aed4763a Ch. 17.05 (NoStarch edits): first section proper 2025-01-21 13:57:15 -07:00
Chris Krycho 6346b5e689 Ch. 17.05 (NoStarch edits): intro section 2025-01-21 13:57:15 -07:00
Chris Krycho 31e25ce8a9 Ch. 17.04 (NoStarch edits): third section 2025-01-21 13:57:15 -07:00
Chris Krycho 889ef2cd7c Ch. 17.04 (NoStarch edits): second section 2025-01-21 13:57:15 -07:00
Chris Krycho e87e3b0e7a Ch. 17.04 (NoStarch edits): first section 2025-01-21 13:57:15 -07:00
Chris Krycho c1e93e71dc Ch. 17.03 (NoStarch edits): fourth section 2025-01-21 13:57:15 -07:00
Chris Krycho e2cbfcb72f Ch. 17.03 (NoStarch edits): third section 2025-01-21 13:57:15 -07:00
Chris Krycho 2fa5fd4414 Ch. 17.03 (NoStarch edits): second section 2025-01-21 13:57:15 -07:00
Chris Krycho d6dbbd1473 Ch. 17.03 (NoStarch edits): first section 2025-01-21 13:57:15 -07:00
Chris Krycho aeb9f55542 Ch. 17.02 (NoStarch edits): second section 2025-01-21 13:57:15 -07:00
Chris Krycho aae7d75a63 Ch. 17.02 (NoStarch edits): first section 2025-01-21 13:57:15 -07:00
Chris Krycho c549742f9c Ch. 17.01 (NoStarch edits): fifth section 2025-01-21 13:57:15 -07:00
Chris Krycho f582119eb9 Ch. 17.01 (NoStarch edits): fourth section 2025-01-21 13:57:15 -07:00
Chris Krycho 22f1adda49 Ch. 17.01 (NoStarch edits): third section 2025-01-21 13:57:15 -07:00
Chris Krycho a239253950 Ch. 17.01 (NoStarch edits): second section 2025-01-21 13:57:15 -07:00
Chris Krycho 6f7f5efbb3 Ch. 17.01 (NoStarch Edits): first section 2025-01-21 13:57:15 -07:00
Chris Krycho 52ad405c46 Ch. 17.00 (NoStarch edits): second section 2025-01-21 13:57:15 -07:00
Chris Krycho acee5a9fb2 Ch. 17.00 (NoStarch edits): first section
Yeah, this is going to take a while!
2025-01-21 13:57:15 -07:00
Chris Krycho 8c95f8cc43 Merge pull request #4205 from rust-lang/appendix-a-future-use-keywords
Appendix A: don't create separate lists for future use keywords
2025-01-21 13:01:17 -07:00
Chris KrychoandMatthias Totschnig 486408f20c Improve note on unsafe functions and unsafe blocks (#4204)
Improve note on unsafe functions and `unsafe` blocks

See discussion in #4147, #4148.

---------

Co-authored-by: Matthias Totschnig <mail@mth.st>
2025-01-21 13:00:50 -07:00