diff options
| -rw-r--r-- | src/libcore/future/mod.rs | 1 |
1 files changed, 0 insertions, 1 deletions
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<T>(gen: T) -> impl Future<Output = T::Return> where T: Generator<ResumeTy, Yield = ()>, { - #[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)] struct GenFuture<T: Generator<ResumeTy, Yield = ()>>(T); // We rely on the fact that async/await futures are immovable in order to create |
