Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore incorrect suggestion from manual_map lint
rust-lang/rust-clippy#6795 error: manual implementation of `Option::map` --> src/item.rs:1194:22 | 1194 | let ty = if let Some(eq_token) = input.parse()? { | ______________________^ 1195 | | Some((eq_token, input.parse::<Type>()?)) 1196 | | } else { 1197 | | None 1198 | | }; | |_____________^ help: try this: `input.parse()?.map(|eq_token| (eq_token, input.parse::<Type>()?))` | = note: `-D clippy::manual-map` implied by `-D clippy::all` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map
- Loading branch information