We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
GenFuture
1 parent 37b5bfc commit be62aedCopy full SHA for be62aed
src/libcore/future/mod.rs
@@ -49,7 +49,6 @@ pub const fn from_generator<T>(gen: T) -> impl Future<Output = T::Return>
49
where
50
T: Generator<ResumeTy, Yield = ()>,
51
{
52
- #[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
53
struct GenFuture<T: Generator<ResumeTy, Yield = ()>>(T);
54
55
// We rely on the fact that async/await futures are immovable in order to create
0 commit comments