diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2020-02-11 11:51:58 +0100 |
|---|---|---|
| committer | Jonas Schievink <jonasschievink@gmail.com> | 2020-03-17 22:17:31 +0100 |
| commit | be62aed2025a19aadadbfa09633ef5d20dbfb668 (patch) | |
| tree | 78492436714df57157b2f0fdd26b04c21494b070 /src/libcore/future | |
| parent | 37b5bfce7612d1a5d8862fbfc9034aca5df33f88 (diff) | |
| download | rust-be62aed2025a19aadadbfa09633ef5d20dbfb668.tar.gz rust-be62aed2025a19aadadbfa09633ef5d20dbfb668.zip | |
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?
Diffstat (limited to 'src/libcore/future')
| -rw-r--r-- | src/libcore/future/mod.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libcore/future/mod.rs b/src/libcore/future/mod.rs index 9dcb2cea2ea..e808f9d2f10 100644 --- a/src/libcore/future/mod.rs +++ b/src/libcore/future/mod.rs @@ -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 |
