We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c7ae0c commit 8263cf9Copy full SHA for 8263cf9
src/librustdoc/clean/auto_trait.rs
@@ -27,9 +27,8 @@ pub(crate) fn synthesize_auto_trait_impls<'tcx>(
27
let finder = auto_trait::AutoTraitFinder::new(tcx);
28
let mut auto_trait_impls: Vec<_> = cx
29
.auto_traits
30
- .clone()
31
- .into_iter()
32
- .filter_map(|trait_def_id| {
+ .iter()
+ .filter_map(|&trait_def_id| {
33
synthesize_auto_trait_impl(
34
cx,
35
ty,
0 commit comments