Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
warning: this `match` expression can be replaced with `?` --> src/generics.rs:191:20 | 191 | let next = match self.0.next() { | ____________________^ 192 | | Some(item) => item, 193 | | None => return None, 194 | | }; | |_________^ help: try instead: `self.0.next()?` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark = note: `-W clippy::question-mark` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::question_mark)]` warning: this `match` expression can be replaced with `?` --> src/generics.rs:209:20 | 209 | let next = match self.0.next() { | ____________________^ 210 | | Some(item) => item, 211 | | None => return None, 212 | | }; | |_________^ help: try instead: `self.0.next()?` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark warning: this `match` expression can be replaced with `?` --> src/generics.rs:227:20 | 227 | let next = match self.0.next() { | ____________________^ 228 | | Some(item) => item, 229 | | None => return None, 230 | | }; | |_________^ help: try instead: `self.0.next()?` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark warning: this `match` expression can be replaced with `?` --> src/generics.rs:245:20 | 245 | let next = match self.0.next() { | ____________________^ 246 | | Some(item) => item, 247 | | None => return None, 248 | | }; | |_________^ help: try instead: `self.0.next()?` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark warning: this `match` expression can be replaced with `?` --> src/generics.rs:263:20 | 263 | let next = match self.0.next() { | ____________________^ 264 | | Some(item) => item, 265 | | None => return None, 266 | | }; | |_________^ help: try instead: `self.0.next()?` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark warning: this `match` expression can be replaced with `?` --> src/generics.rs:281:20 | 281 | let next = match self.0.next() { | ____________________^ 282 | | Some(item) => item, 283 | | None => return None, 284 | | }; | |_________^ help: try instead: `self.0.next()?` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
- Loading branch information