Remove redundant .iter_mut()

This commit is contained in:
AnthonyMikh 2019-10-01 00:10:23 +03:00 committed by GitHub
parent 7a807c5b14
commit 9d73176978
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1655,7 +1655,7 @@ impl FileWithAnnotatedLines {
line_index: usize,
ann: Annotation) {
for slot in file_vec.iter_mut() {
for slot in file_vec {
// Look through each of our files for the one we're adding to
if slot.file.name == file.name {
// See if we already have a line for it