Skip to content

Commit

Permalink
Remove useless derives on GenFuture
Browse files Browse the repository at this point in the history
Not sure why these were there, I guess because this type used
to kind of be part of public API?
  • Loading branch information
jonas-schievink committed Mar 17, 2020
1 parent 37b5bfc commit be62aed
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/libcore/future/mod.rs
Expand Up @@ -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
Expand Down

0 comments on commit be62aed

Please sign in to comment.