Lesson 9: one more exercise

Mira Kovac 3 months ago
parent 134384f992 commit 98809e96f48a57321966cfcb1c1613b575119f2d
1 changed files with 1 additions and 0 deletions
+1-0lessons/09-traits-and-generics/exercises.md
@@ -3,3 +3,4 @@
33 1. Run `src/main.rs` and change one value. Write down what you expect, then run it again and compare.
44 2. Find one thing in `src/main.rs` you could name better and rename it everywhere.
55 3. Add a check that prints a warning when a result looks wrong (negative, empty, too big).
6+4. What happens with an empty input? Change the code so it handles that case with a clear message.