From 35a69d09ee8f997c681c77b6e621906e243caeec Mon Sep 17 00:00:00 2001 From: Luca Barbieri Date: Fri, 3 Apr 2020 21:12:07 +0200 Subject: [PATCH] Fix warnings emitted when compiling as part of rustc --- crates/ra_syntax/src/algo.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ra_syntax/src/algo.rs b/crates/ra_syntax/src/algo.rs index 191123c8ed9..8d1098036d4 100644 --- a/crates/ra_syntax/src/algo.rs +++ b/crates/ra_syntax/src/algo.rs @@ -316,7 +316,7 @@ fn rewrite_self( } } -impl<'a> ops::AddAssign for SyntaxRewriter<'_> { +impl ops::AddAssign for SyntaxRewriter<'_> { fn add_assign(&mut self, rhs: SyntaxRewriter) { assert!(rhs.f.is_none()); self.replacements.extend(rhs.replacements)