We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8b5d4b commit 17a0740Copy full SHA for 17a0740
library/core/src/iter/sources/from_generator.rs
@@ -35,6 +35,7 @@ pub fn from_generator<G: Generator<Return = ()> + Unpin>(generator: G) -> FromGe
35
///
36
/// [`iter::from_generator()`]: from_generator
37
#[unstable(feature = "iter_from_generator", issue = "43122", reason = "generators are unstable")]
38
+#[derive(Clone)]
39
pub struct FromGenerator<G>(G);
40
41
0 commit comments