Skip to content

Commit 9d73176

Browse files
authored
Remove redundant .iter_mut()
1 parent 7a807c5 commit 9d73176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_errors/emitter.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1655,7 +1655,7 @@ impl FileWithAnnotatedLines {
16551655
line_index: usize,
16561656
ann: Annotation) {
16571657

1658-
for slot in file_vec.iter_mut() {
1658+
for slot in file_vec {
16591659
// Look through each of our files for the one we're adding to
16601660
if slot.file.name == file.name {
16611661
// See if we already have a line for it

0 commit comments

Comments
 (0)