Commit Graph

107 Commits

Author SHA1 Message Date
xiorcale
af4fe9cedb fix typo in 7.14 sync (#278) 2025-06-09 07:04:07 +02:00
Geert-Johan Riemer
21f3427c92 Update 03_variants_with_data.md (#264) 2025-03-03 16:32:13 +01:00
Karolis Strazdas
b839c770b5 Fix typos in 08_overflow.md. (#261)
* Fix a typo in "Profiles" section - change "form" to "from". 
* Remove "etc.", as it should not be used together with "e.g.".
2025-02-23 09:57:34 +01:00
dawe
fd23b201fe add missing word in 03_runtime.md (#259) 2025-02-15 10:09:16 +01:00
David Ekete
13850a6b01 Update 04_scoped_threads.md (#258)
Improved phrasing for  the `scope` h2
2025-02-08 10:21:56 +01:00
Luca Palmieri
2f059fc5ba Link to wr website 2025-01-30 14:29:47 +01:00
James Judd
63402ef5c2 Fix dead link to blog.acolyer.org (#253)
Co-authored-by: James Judd <james@lucidchart.com>
2025-01-30 14:13:05 +01:00
Luca Palmieri
892c37ead9 Typo. 2025-01-30 14:03:45 +01:00
Luca Palmieri
fb19005d5f Clarify Send-Sync relationship (#237) 2024-12-18 17:22:16 +01:00
Luca Palmieri
cc0092b2c6 Clarify that both crate and super are keywords (#236) 2024-12-18 17:13:27 +01:00
Luca Palmieri
60947aaacd Showcase else-if (#234) 2024-12-18 16:53:14 +01:00
LukeMathWalker
b0e1e5a1ec Link to the next tutored session in the methodology section 2024-12-18 11:38:21 +01:00
LukeMathWalker
93536fbcfd Formatting 2024-12-18 11:25:30 +01:00
Maor Levy
51cad6bdfe doc: update book 06_01_arrays (#195) 2024-12-18 11:12:50 +01:00
Daniel Wagner-Hall
ab1eb5d80c Warn about the risks of using catch-all patterns (#200) 2024-12-18 11:05:01 +01:00
Daniel Wagner-Hall
fd6a56fd84 Add install steps to the welcome page (#196) 2024-12-18 11:02:25 +01:00
Will Bush
0419e2e8b2 Fix typo in 03_leak.md (#220)
Corrected a confusing sentence with double negative.
2024-11-19 09:19:50 +01:00
dawe
4b02e92691 fix a small typo in 11_locks.md (#219) 2024-11-18 10:58:59 +01:00
Marco Otte-Witte
c75ff98c6a format 2024-11-12 11:17:13 +01:00
Robertino
b60e021ab1 Update 11_clone.md (#205)
typo in code
2024-11-01 08:22:23 +01:00
Manuel Bichler
f4a7472f30 Update 08_overflow.md
Added some context.
2024-10-29 15:40:56 +01:00
Manuel Bichler
f14a047e8b Update 08_overflow.md
if you read threw the profile docs it provides 4 profiles. https://doc.rust-lang.org/cargo/reference/profiles.html
2024-10-27 19:32:58 +01:00
Remo Senekowitsch
a899ecec96 Fix typo (#160) 2024-10-02 15:20:17 +02:00
Luca Palmieri
73649001ba Add link to paperback. 2024-09-27 10:13:15 +02:00
David Parra
99ee4b27c5 Typo (#154)
Thanks for such a great book, found a small typo.
2024-09-22 08:12:14 +02:00
Tobias Hermann
ea71ac2c0a Remove duplicated mention of slices in 00_intro.md (#144)
Slices are already mentioned in bullet point 4, so they can be removed from bullet point 2.
2024-09-11 11:36:58 +02:00
Ernie Hershey
d5918375f3 Grammar fixups 2024-08-13 11:41:40 -04:00
LukeMathWalker
f9a1d427b2 Adjust margins for paperback version. Ensure nothing breaches the right margin. 2024-08-07 15:39:35 +02:00
LukeMathWalker
0910f3909f Add formats. 2024-08-06 10:31:06 +02:00
mckzm
2765fdaa0e Fix reference to supertrait syntax in 09_error_trait.md (#124)
The [Error trait](https://rust-exercises.com/100-exercises/05_ticket_v2/09_error_trait.html?highlight=supertrait#the-error-trait) chapter states that the reader may recall the supertrait syntax from the [Sized trait](https://rust-exercises.com/100-exercises/04_traits/08_sized) chapter. Actually the syntax is introduced in the [From and Into](https://rust-exercises.com/100-exercises/04_traits/09_from) chapter instead. This PR amends the text accordingly.
2024-08-05 17:53:07 +02:00
Luca Palmieri
96f06708b0 Render the book in PDF using pandoc and LaTeX. (#126)
* Render the book in PDF using `pandoc` and LaTeX.

* Fix installs.

* Go the apt-get route

* Another attempt

* Avoid installing twice.

* Re-order.

* Add more packages.

* Minimise deps. Fix link checker.

* Missing package.

* Missing package.

* Missing package.

* More packages.

* Missing package.

* Missing package.

* More packages...

* Remove.

* Fix link checker.

* Fix link checker.

* Fix path.

* Add subtitle.

* Avoid running over the right margin.

* Avoid running over the right margin.

* Formatting
2024-08-05 17:52:15 +02:00
mckzm
e732ea82e4 Fix minor typo in 09_bounded.md (#125)
Trim errant `s` from `enqueue`'s end in [Bounded vs unbounded channels](https://rust-exercises.com/100-exercises/07_threads/09_bounded.html):

`if the producers enqueues messages` -> `if the producers enqueue messages`
2024-08-05 15:03:31 +02:00
LukeMathWalker
056505d89f It's enough for one field to be private. Closes #69 2024-08-01 15:10:50 +02:00
LukeMathWalker
b039a6c5c2 Formatting 2024-08-01 15:09:40 +02:00
LukeMathWalker
3a9c9ea520 Remove reference to cargo new to avoid confusion. Closes #71. 2024-08-01 15:09:24 +02:00
LukeMathWalker
3f4d31148f Add cargo-modules. Closes #101 2024-08-01 14:56:43 +02:00
LukeMathWalker
2f067058ce Fix #104 2024-08-01 14:54:25 +02:00
LukeMathWalker
be5c0e8bae Reword 'static issues. Closes #117 2024-08-01 14:53:53 +02:00
code-cp
59833f2a55 Update 06_async_aware_primitives.md (#122)
Fix a typo
2024-07-28 12:46:20 +02:00
Zhang Zihao
9a2086081c Fix a typo (#116) 2024-07-17 08:08:22 +02:00
Evgeniy Filimonov
fccad08921 07_threads: 03_leak: Leak vector with Vec::leak, not Box::leak (#107) 2024-06-30 18:23:20 +02:00
Palash Nigam (He/Him)
de45f8adf2 Ch-08 Futures Exercise 02: Fix typo (#106) 2024-06-30 00:18:46 +02:00
Jerry Wu
83cf1cad62 Update 11_locks.md (#94)
Suggest removing an extra semicolon.
2024-06-20 10:21:53 +02:00
Ernie Hershey
d8d7e73f1c fix syntax with comma (#89)
Example doesn't compile with a comma here
2024-06-20 10:21:33 +02:00
Felix Pherry
056611ac1c Fix: typos (#84)
Co-authored-by: Felix Pherry <182051.FELIX@klgroup.local>
2024-06-05 11:59:04 +02:00
Felix Pherry
e99a15390e fix(book): Correct type parameter naming convention to pascal case (#79)
* fix(book): Correct type parameter naming convention to pascal case

* Update book/src/04_traits/05_trait_bounds.md

---------

Co-authored-by: Felix Pherry <182051.FELIX@klgroup.local>
Co-authored-by: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com>
2024-06-01 08:31:48 +02:00
rithvik-bosch
ffb2f08b67 nit: grammar (#70) 2024-05-29 10:59:32 +02:00
LukeMathWalker
d442b61795 Reword. 2024-05-28 11:11:41 +02:00
Keshav Chakravarthy
d77272a5b4 Better example for ownership transfer using String (#68)
* Better example for ownership transfer using String

* Update book/src/03_ticket_v1/06_ownership.md

---------

Co-authored-by: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com>
2024-05-28 11:08:34 +02:00
Ernie Hershey
deb4ccb643 Grammar typo (#65) 2024-05-28 11:05:59 +02:00