Skip to content

Commit be62aed

Browse files
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?
1 parent 37b5bfc commit be62aed

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/libcore/future/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ pub const fn from_generator<T>(gen: T) -> impl Future<Output = T::Return>
4949
where
5050
T: Generator<ResumeTy, Yield = ()>,
5151
{
52-
#[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
5352
struct GenFuture<T: Generator<ResumeTy, Yield = ()>>(T);
5453

5554
// We rely on the fact that async/await futures are immovable in order to create

0 commit comments

Comments
 (0)