![]() - Take a `Vec` instead of an iterator, because that's all that is needed. - Do an early return for the "no bugs" case. - Use `enumerate` and an `i == 0` test to identify the first bug. Those changes mean the `no_bug` variable can be removed, which I found hard to read. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |