From 7a0ada0427ff1a8756f19f2bfb866a0c8461a029 Mon Sep 17 00:00:00 2001 From: Lukas Lueg Date: Thu, 7 Jan 2021 00:45:47 +0100 Subject: [PATCH] Remove FIXME-notes --- library/core/src/iter/adapters/intersperse.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/library/core/src/iter/adapters/intersperse.rs b/library/core/src/iter/adapters/intersperse.rs index adae47459f7..9f5cca88206 100644 --- a/library/core/src/iter/adapters/intersperse.rs +++ b/library/core/src/iter/adapters/intersperse.rs @@ -65,9 +65,6 @@ pub struct IntersperseWith needs_sep: bool, } -// FIXME This manual implementation is needed as #[derive] misplaces trait bounds, -// requiring ::Item to be Debug on the struct-definition, which is -// not what we want. #[unstable(feature = "iter_intersperse", reason = "recently added", issue = "79524")] impl crate::fmt::Debug for IntersperseWith 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 ::Item to be Clone on the struct-definition, which is -// not what we want. #[unstable(feature = "iter_intersperse", reason = "recently added", issue = "79524")] impl crate::clone::Clone for IntersperseWith where -- 2.44.0