docs(smallest): specify what to do when the hashmap is empty

This commit is contained in:
eslopfer 2022-11-14 19:17:25 +00:00
parent 71a2c55a83
commit f579e040dc
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@
Create a function named `smallest` that gets the smallest number in the `HashMap`.
If the `HashMap` is empty, return the maximum `i32`.
### Expected Function
```rust