Luca Palmieri
99591a715e
Formatter ( #51 )
...
Enforce consistent formatting use `dprint`
2024-05-24 17:00:03 +02:00
LukeMathWalker
d5c0743c56
Reword instructions.
2024-05-24 12:36:15 +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
LukeMathWalker
6c217f7b66
Use "bytes" instead of "characters" consistently when talking about length of a `String`.
2024-05-22 12:06:40 +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
Jae-Won Chung
9bda4eb7e0
Check status field value after patch ( #22 )
2024-05-22 11:00:51 +02:00
taohua
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
Ernie Hershey
45c5e390c0
Grammar typo ( #7 )
2024-05-17 16:59:04 +02:00
Arnau Diaz
d9b6b493e8
fixes usage valid_description
2024-05-17 11:46:20 +02:00
LukeMathWalker
17cfa531ba
Don't unwrap when trying to close the writer half in 08/07
2024-05-16 15:32:27 +02:00
LukeMathWalker
5d68add5ad
Fix: configure and read from socket correctly in 08/05
2024-05-16 10:14:46 +02:00
LukeMathWalker
804b275b06
Update guidance in 08/04.
2024-05-16 10:04:49 +02:00
LukeMathWalker
5fda479c96
Fix crate name.
2024-05-16 09:12:47 +02:00
LukeMathWalker
aa58dcb5ca
Last chapter on async Rust
2024-05-15 20:01:05 +02:00
LukeMathWalker
6e581440bf
Explain.
2024-05-14 15:54:26 +02:00
LukeMathWalker
3d534dd336
Use &str rather than &String.
2024-05-14 14:53:55 +02:00
LukeMathWalker
ab2f0298f0
Link to Rustonomicon for struct's data layout.
2024-05-14 10:56:14 +02:00
LukeMathWalker
90caadf797
Use more precise language in task assignment.
2024-05-14 10:52:46 +02:00
LukeMathWalker
2c044a2567
Fix instructions.
2024-05-14 10:05:25 +02:00
LukeMathWalker
ae7769d879
Check the implementation of Display in the tests.
2024-05-14 10:03:45 +02:00
LukeMathWalker
d9a0c025e9
Fix instructions.
2024-05-14 10:02:29 +02:00
LukeMathWalker
04c4e55b37
Fix tests
2024-05-13 21:02:44 +02:00
LukeMathWalker
0e38fa8ca7
Fix: error type
2024-05-13 20:59:12 +02:00
LukeMathWalker
a0f3a6eaa7
Fix: `recv` returns an `Option<Ticket>`
2024-05-13 20:30:01 +02:00
LukeMathWalker
d23f48a3a9
Fix: use curly braces rather than parentheses
2024-05-13 15:30:50 +02:00
LukeMathWalker
a1a96f6457
Fix: remove unnecessary dereference.
2024-05-13 15:20:49 +02:00
LukeMathWalker
23ca48ca9e
Fix typo.
2024-05-13 14:03:49 +02:00
LukeMathWalker
22c029fea5
Fix test.
2024-05-13 13:58:35 +02:00
LukeMathWalker
33444dfeee
Remove IntoIterator impl for &TicketStore
2024-05-13 13:49:10 +02:00
LukeMathWalker
785c9af4be
Fix typo in comment.
2024-05-13 12:51:20 +02:00
LukeMathWalker
5edebf6cf2
100 exercises to learn Rust
2024-05-12 22:47:45 +02:00