Commit Graph

25 Commits

Author SHA1 Message Date
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