Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
warning: returning the result of a `let` binding from a block --> impl/src/fmt.rs:67:21 | 63 | / let member = match int.parse::<u32>() { 64 | | Ok(index) => MemberUnraw::Unnamed(Index { index, span }), 65 | | Err(_) => return Ok(()), 66 | | }; | |______________________- unnecessary `let` binding 67 | member | ^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return = note: `-W clippy::let-and-return` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::let_and_return)]` help: return the expression directly | 63 ~ 64 ~ match int.parse::<u32>() { 65 + Ok(index) => MemberUnraw::Unnamed(Index { index, span }), 66 + Err(_) => return Ok(()), 67 + } |
- Loading branch information