Commit graph

5 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
LukeMathWalker
3d534dd336 Use &str rather than &String. 2024-05-14 14:53:55 +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
5edebf6cf2 100 exercises to learn Rust 2024-05-12 22:47:45 +02:00