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:
parent
37b5bfce76
commit
be62aed202
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue