summaryrefslogtreecommitdiffstats
path: root/src/librustdoc/lint.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:25:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:25:56 +0000
commit018c4950b9406055dec02ef0fb52f132e2bb1e2c (patch)
treea835ebdf2088ef88fa681f8fad45f09922c1ae9a /src/librustdoc/lint.rs
parentAdding debian version 1.75.0+dfsg1-5. (diff)
downloadrustc-018c4950b9406055dec02ef0fb52f132e2bb1e2c.tar.xz
rustc-018c4950b9406055dec02ef0fb52f132e2bb1e2c.zip
Merging upstream version 1.76.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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()