diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-08-12 11:51:02 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-08-12 11:51:02 +0100 |
commit | e471cb2a127b45cec5f23359ea92bf6bcad753b6 (patch) | |
tree | 4e90245f6f39220f41d6fb446bf08b6fdbbf5961 /crates | |
parent | d0fd8eb7f6303e5c49cd5107a8db2aa1937845d5 (diff) | |
parent | 49af51129b943784a3e6dbe33b05b6f683965b28 (diff) |
Merge #5718
5718: Deny clippy
r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_parser/src/grammar/expressions.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_parser/src/grammar/expressions.rs b/crates/ra_parser/src/grammar/expressions.rs index e1c25a838..51eaf7af6 100644 --- a/crates/ra_parser/src/grammar/expressions.rs +++ b/crates/ra_parser/src/grammar/expressions.rs | |||
@@ -509,7 +509,6 @@ fn method_call_expr(p: &mut Parser, lhs: CompletedMarker) -> CompletedMarker { | |||
509 | // x.1i32; | 509 | // x.1i32; |
510 | // x.0x01; | 510 | // x.0x01; |
511 | // } | 511 | // } |
512 | #[allow(clippy::if_same_then_else)] | ||
513 | fn field_expr(p: &mut Parser, lhs: CompletedMarker) -> CompletedMarker { | 512 | fn field_expr(p: &mut Parser, lhs: CompletedMarker) -> CompletedMarker { |
514 | assert!(p.at(T![.])); | 513 | assert!(p.at(T![.])); |
515 | let m = lhs.precede(p); | 514 | let m = lhs.precede(p); |