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?
This commit is contained in:
Jonas Schievink 2020-02-11 11:51:58 +01:00
parent 37b5bfce76
commit be62aed202

View File

@ -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