We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19f8958 commit 31cd65fCopy full SHA for 31cd65f
src/libstd/future.rs
@@ -11,7 +11,7 @@ use core::ops::{Drop, Generator, GeneratorState};
11
#[doc(inline)]
12
pub use core::future::*;
13
14
-/// Wrap a future in a generator.
+/// Wrap a generator in a future.
15
///
16
/// This function returns a `GenFuture` underneath, but hides it in `impl Trait` to give
17
/// better error messages (`impl Future` rather than `GenFuture<[closure.....]>`).
0 commit comments