Task #56222 - added.err
back to task #56222download
Error: CLIPPY_WARNING:
utils/src/iterators.rs:25:5: warning: this block may be rewritten with the `?` operator
# |
# 25 | / if it.peek().is_none() {
# 26 | | return None;
# 27 | | }
# | |_____^ help: replace it with: `it.peek()?;`
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
# = note: `#[warn(clippy::question_mark)]` on by default
Error: CLIPPY_WARNING:
utils/src/iterators.rs:29:5: warning: this loop could be written as a `for` loop
# |
# 29 | while let Some(next) = it.next() {
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for next in it.by_ref()`
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator
# = note: `#[warn(clippy::while_let_on_iterator)]` on by default