mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Fix clippy::if_same_then_else
This commit is contained in:
parent
63e37f9536
commit
4e449fb0b0
1 changed files with 1 additions and 0 deletions
|
@ -454,6 +454,7 @@ fn method_call_expr(p: &mut Parser, lhs: CompletedMarker) -> CompletedMarker {
|
|||
// x.1i32;
|
||||
// x.0x01;
|
||||
// }
|
||||
#[allow(clippy::if_same_then_else)]
|
||||
fn field_expr(p: &mut Parser, lhs: CompletedMarker) -> CompletedMarker {
|
||||
assert!(p.at(T![.]));
|
||||
let m = lhs.precede(p);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue