]> git.lizzy.rs Git - rust.git/commitdiff
Remove FIXME-notes
authorLukas Lueg <lukas.lueg@gmail.com>
Wed, 6 Jan 2021 23:45:47 +0000 (00:45 +0100)
committerLukas Lueg <lukas.lueg@gmail.com>
Wed, 6 Jan 2021 23:45:47 +0000 (00:45 +0100)
library/core/src/iter/adapters/intersperse.rs

index adae47459f7f493d91236a7995c05d72d93ee8b3..9f5cca88206ef0a10bf6f30124d7267426e4712e 100644 (file)
@@ -65,9 +65,6 @@ pub struct IntersperseWith<I, G>
     needs_sep: bool,
 }
 
-// FIXME This manual implementation is needed as #[derive] misplaces trait bounds,
-// requiring <I as Iterator>::Item to be Debug on the struct-definition, which is
-// not what we want.
 #[unstable(feature = "iter_intersperse", reason = "recently added", issue = "79524")]
 impl<I, G> crate::fmt::Debug for IntersperseWith<I, G>
 where
@@ -84,9 +81,6 @@ fn fmt(&self, f: &mut crate::fmt::Formatter<'_>) -> crate::fmt::Result {
     }
 }
 
-// FIXME This manual implementation is needed as #[derive] misplaces trait bounds,
-// requiring <I as Iterator>::Item to be Clone on the struct-definition, which is
-// not what we want.
 #[unstable(feature = "iter_intersperse", reason = "recently added", issue = "79524")]
 impl<I, G> crate::clone::Clone for IntersperseWith<I, G>
 where