We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ed824e commit 7a0ada0Copy full SHA for 7a0ada0
library/core/src/iter/adapters/intersperse.rs
@@ -65,9 +65,6 @@ where
65
needs_sep: bool,
66
}
67
68
-// FIXME This manual implementation is needed as #[derive] misplaces trait bounds,
69
-// requiring <I as Iterator>::Item to be Debug on the struct-definition, which is
70
-// not what we want.
71
#[unstable(feature = "iter_intersperse", reason = "recently added", issue = "79524")]
72
impl<I, G> crate::fmt::Debug for IntersperseWith<I, G>
73
where
@@ -84,9 +81,6 @@ where
84
81
85
82
86
83
87
88
-// requiring <I as Iterator>::Item to be Clone on the struct-definition, which is
89
90
91
impl<I, G> crate::clone::Clone for IntersperseWith<I, G>
92
0 commit comments