mirror of https://github.com/01-edu/public.git
docs(smallest): specify what to do when the hashmap is empty
This commit is contained in:
parent
71a2c55a83
commit
f579e040dc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue