diff options
author | Luca Barbieri <[email protected]> | 2020-04-03 20:12:07 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-04-08 13:49:19 +0100 |
commit | 35a69d09ee8f997c681c77b6e621906e243caeec (patch) | |
tree | 183a1ce5a0b2ea335366e8c1d6bea670e9e9405f | |
parent | 8ea7c9cb62aaef468c9ff1483e109329d2d5fccd (diff) |
Fix warnings emitted when compiling as part of rustc
-rw-r--r-- | crates/ra_syntax/src/algo.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/algo.rs b/crates/ra_syntax/src/algo.rs index 191123c8e..8d1098036 100644 --- a/crates/ra_syntax/src/algo.rs +++ b/crates/ra_syntax/src/algo.rs | |||
@@ -316,7 +316,7 @@ impl<'a> SyntaxRewriter<'a> { | |||
316 | } | 316 | } |
317 | } | 317 | } |
318 | 318 | ||
319 | impl<'a> ops::AddAssign for SyntaxRewriter<'_> { | 319 | impl ops::AddAssign for SyntaxRewriter<'_> { |
320 | fn add_assign(&mut self, rhs: SyntaxRewriter) { | 320 | fn add_assign(&mut self, rhs: SyntaxRewriter) { |
321 | assert!(rhs.f.is_none()); | 321 | assert!(rhs.f.is_none()); |
322 | self.replacements.extend(rhs.replacements) | 322 | self.replacements.extend(rhs.replacements) |