From be62aed2025a19aadadbfa09633ef5d20dbfb668 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Tue, 11 Feb 2020 11:51:58 +0100 Subject: [PATCH] Remove useless derives on `GenFuture` Not sure why these were there, I guess because this type used to kind of be part of public API? --- src/libcore/future/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libcore/future/mod.rs b/src/libcore/future/mod.rs index 9dcb2cea2ea..e808f9d2f10 100644 --- a/src/libcore/future/mod.rs +++ b/src/libcore/future/mod.rs @@ -49,7 +49,6 @@ pub const fn from_generator(gen: T) -> impl Future where T: Generator, { - #[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)] struct GenFuture>(T); // We rely on the fact that async/await futures are immovable in order to create