diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-04-08 15:15:54 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-08 15:15:54 +0100 |
commit | 4762c6d9c66dc1b6be9b9010dbe787ef8d69530a (patch) | |
tree | 183a1ce5a0b2ea335366e8c1d6bea670e9e9405f /crates/ra_syntax | |
parent | 8ea7c9cb62aaef468c9ff1483e109329d2d5fccd (diff) | |
parent | 35a69d09ee8f997c681c77b6e621906e243caeec (diff) |
Merge #3895
3895: Fix warnings emitted when compiling as part of rustc r=matklad a=matklad
bors r+
🤖
Co-authored-by: Luca Barbieri <[email protected]>
Diffstat (limited to 'crates/ra_syntax')
-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) |