Commit Graph

20 Commits

Author SHA1 Message Date
Daniel Wagner-Hall
ab1eb5d80c Warn about the risks of using catch-all patterns (#200) 2024-12-18 11:05:01 +01: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
LukeMathWalker
3a9c9ea520 Remove reference to cargo new to avoid confusion. Closes #71. 2024-08-01 15:09:24 +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
Shinya Fujino
5140cd3b37 Update variant name (#58) 2024-05-28 11:04:32 +02:00
Shinya Fujino
3020ef6c3f Fix a typo (#57) 2024-05-28 11:04:19 +02:00
LukeMathWalker
4401743807 Formatter 2024-05-24 18:16:20 +02:00
Luca Palmieri
1aae615bb4 Automatically add exercise links to sections. (#52)
We use an mdbook preprocessor to automatically generate links to the relevant exercise for each section.
We remove all existing manual links and refactor the deploy process to push the rendered book to a branch.
2024-05-24 18:15:38 +02:00
Luca Palmieri
99591a715e Formatter (#51)
Enforce consistent formatting use `dprint`
2024-05-24 17:00:03 +02:00
Luca Palmieri
f388b2a6c3 Add CI job to verify that we have no broken links. (#50)
Fix all broken links.
2024-05-24 16:45:59 +02:00
Sympatron GmbH
7a4fa2d1f4 Fix broken links (#47) 2024-05-24 12:57:57 +02:00
Onè
bf1cdfdb5c reword tuples introduction (#42) 2024-05-23 14:29:55 +02:00
Onè
aecd6e6180 typos (#41)
* that to than

* add missing s

* an to a

Next letter is a consonant sound
2024-05-23 14:29:37 +02:00
LukeMathWalker
6c217f7b66 Use "bytes" instead of "characters" consistently when talking about length of a String. 2024-05-22 12:06:40 +02:00
LukeMathWalker
e5eee2e83c Fix links. 2024-05-22 11:03:19 +02:00
LukeMathWalker
28a1bb94ad Use &str rather than &String 2024-05-14 14:56:22 +02:00
LukeMathWalker
3f9fc21618 Typo. 2024-05-14 11:18:04 +02:00
LukeMathWalker
5edebf6cf2 100 exercises to learn Rust 2024-05-12 22:47:45 +02:00