From 9afb241af575d2550d6e58b73cb0769a73d6a1f2 Mon Sep 17 00:00:00 2001 From: est31 Date: Tue, 9 Nov 2021 23:45:17 +0100 Subject: [PATCH] Use AddAssign impl --- compiler/rustc_ast/src/util/comments.rs | 2 +- compiler/rustc_middle/src/util/common.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/rustc_ast/src/util/comments.rs b/compiler/rustc_ast/src/util/comments.rs index 542a330a03141..02792f09ace8d 100644 --- a/compiler/rustc_ast/src/util/comments.rs +++ b/compiler/rustc_ast/src/util/comments.rs @@ -169,7 +169,7 @@ pub fn gather_comments(sm: &SourceMap, path: FileName, src: String) -> Vec