Commit Graph
149 Commits
Author SHA1 Message Date
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 baca47f782 Add a TODO to make things more explicit. 2024-05-28 11:18:27 +02:00
LukeMathWalker d442b61795 Reword. 2024-05-28 11:11:41 +02:00
Keshav ChakravarthyandLuca Palmieri 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
Onè 35a2ff1efe Change execution unit name (#60) 2024-05-28 11:05:46 +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
Onè f74fbd4800 typos (#55)
* Add missing of

* change tense of spawn

* ignored to ignoring

* add need
2024-05-28 11:04:08 +02:00
LukeMathWalker bd9faa049f Remove new line. 2024-05-24 20:16:31 +02:00
LukeMathWalker a111eed575 Re-add necessary references section in 06/06 2024-05-24 20:14:02 +02:00
LukeMathWalker 1a452230ed Create branch first. 2024-05-24 18:26:59 +02:00
LukeMathWalker 5a08035d83 Fetch history. 2024-05-24 18:26:15 +02:00
LukeMathWalker 0b15b96ab0 Fix deploy step. 2024-05-24 18:20:45 +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
LukeMathWalker 537118574b Run CI on pushes to main too. 2024-05-24 16:47:14 +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
Onè 6d707bb32d add system to sentence (#48) 2024-05-24 12:58:07 +02:00
Sympatron GmbH 7a4fa2d1f4 Fix broken links (#47) 2024-05-24 12:57:57 +02:00
LukeMathWalker eb0b4f75f0 Improve Output explanation. 2024-05-24 12:55:58 +02:00
LukeMathWalker cbafcf2cd4 Restructure negative trait bounds section. 2024-05-24 12:43:34 +02:00
LukeMathWalker d5c0743c56 Reword instructions. 2024-05-24 12:36:15 +02:00
LukeMathWalker e8cc1217db Add trait recommendations. 2024-05-24 12:33:35 +02:00
LukeMathWalker 1993f43418 You can assign an if/else expression to a variable. 2024-05-24 12:20:11 +02:00
LukeMathWalker f371e4cd95 Fix typo. 2024-05-24 12:16:04 +02:00
LukeMathWalker 5977b1c51b Explain that generic parameters don't have to be single letters. 2024-05-24 12:12:51 +02:00
Onè 20ff3a1743 Add missing word (#45) 2024-05-24 10:28:27 +02:00
Shinya Fujino d2be52f32f Update references in book/src/04_traits (#46) 2024-05-24 10:27:29 +02:00
LukeMathWalker 46e2dcb2b9 Fix index. 2024-05-23 16:33:55 +02:00
LukeMathWalker 453d8030e5 Add new section on trait bounds. 2024-05-23 15:29:42 +02:00
LukeMathWalker 2477f72adc Remove ambiguity in 03/07 exercise mandate. 2024-05-23 14:39:43 +02:00
LukeMathWalker f645b500c4 Improve as casting exercise. 2024-05-23 14:37:05 +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
Onè ab39f443dc Align arrows in diagrams (#39) 2024-05-23 09:05:34 +02:00
Onè a9ba34c59a Change part of speech for syntax (#40) 2024-05-23 09:05:22 +02:00
Onè d9193d4b41 remove unused footnote (#38) 2024-05-23 09:04:58 +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 0bce2485ab Add more resources to "Derive" section. Closes #34 2024-05-22 12:04:22 +02:00
LukeMathWalker b54b0b7023 Fix test to use &mut rather than &. Closes #30 2024-05-22 11:11:05 +02:00
Fangyi Zhou 5bb9333ae9 Add i32/u32 suffix for numeric literals in 04_traits/01_trait (#20)
Without an explicit suffix, the compiler is able to use the i32
implementation without the need for an u32 implementation.
2024-05-22 11:04:04 +02:00
LukeMathWalker e5eee2e83c Fix links. 2024-05-22 11:03:19 +02:00
Jae-Won Chung 9bda4eb7e0 Check status field value after patch (#22) 2024-05-22 11:00:51 +02:00
jw013 63d9ed8478 Update 04_scoped_threads.md (#21)
Fix incorrect statement and remove unintended line break.
2024-05-22 11:00:24 +02:00
Fangyi Zhou d5f407d720 Fix a typo in 03_ticket_v1/08_stack (#19)
The type argument of `size_of` is `<u8>` instead of `<String>`.
2024-05-18 17:57:02 +02:00
44f3260fbe misunderstand the implements verb (#18)
* Update 08_from.md

* test

* Update exercises/04_traits/08_from/src/lib.rs

---------

Co-authored-by: datewu <hihahajun@gmail.com>
Co-authored-by: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com>
2024-05-18 17:56:39 +02:00
Loup Federico 1d9ba4c25c Fix typo in 05_ticket_v2/09_error_trait/[...] instructions (#13)
The commented instructions of the exercise ask to use `No description provided` for the description field when calling `easy_ticket` with an invalid description argument. However, the unit test of that behavior compares the description to `Description not provided` instead.

Previous exercises in that part also use `Description not provided`.

Update the exercise 05_ticket_v2/09_error_trait instructions to use `Description not provided` as an expected default  description value when calling `easy_ticket` with no description instead of `No description provided`.
2024-05-18 17:54:50 +02:00