summaryrefslogtreecommitdiffstats
path: root/src/librustdoc/lint.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustdoc/lint.rs')
-rw-r--r--src/librustdoc/lint.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustdoc/lint.rs b/src/librustdoc/lint.rs
index d45040e34..267f1cb0b 100644
--- a/src/librustdoc/lint.rs
+++ b/src/librustdoc/lint.rs
@@ -33,7 +33,7 @@ where
let lints = || {
lint::builtin::HardwiredLints::get_lints()
.into_iter()
- .chain(rustc_lint::SoftLints::get_lints().into_iter())
+ .chain(rustc_lint::SoftLints::get_lints())
};
let lint_opts = lints()
@@ -46,7 +46,7 @@ where
filter_call(lint)
}
})
- .chain(lint_opts.into_iter())
+ .chain(lint_opts)
.collect::<Vec<_>>();
let lint_caps = lints()