clippy::redudant_borrow

This commit is contained in:
Maan2003
2021-06-13 09:24:16 +05:30
parent d6737e55fb
commit c9b4ac5be4
114 changed files with 285 additions and 285 deletions

View File

@@ -47,7 +47,7 @@ impl DiagnosticCollection {
) {
let diagnostics = self.check.entry(file_id).or_default();
for existing_diagnostic in diagnostics.iter() {
if are_diagnostics_equal(&existing_diagnostic, &diagnostic) {
if are_diagnostics_equal(existing_diagnostic, &diagnostic) {
return;
}
}