aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2020-04-03 20:12:07 +0100
committerAleksey Kladov <[email protected]>2020-04-08 13:49:19 +0100
commit35a69d09ee8f997c681c77b6e621906e243caeec (patch)
tree183a1ce5a0b2ea335366e8c1d6bea670e9e9405f
parent8ea7c9cb62aaef468c9ff1483e109329d2d5fccd (diff)
Fix warnings emitted when compiling as part of rustc
-rw-r--r--crates/ra_syntax/src/algo.rs2
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
319impl<'a> ops::AddAssign for SyntaxRewriter<'_> { 319impl 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)