File tree 1 file changed +3
-0
lines changed
library/core/src/async_iter
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ where
116
116
impl < T > Poll < Option < T > > {
117
117
/// A helper function for internal desugaring -- produces `Ready(Some(t))`,
118
118
/// which corresponds to the async iterator yielding a value.
119
+ #[ doc( hidden) ]
119
120
#[ unstable( feature = "async_gen_internals" , issue = "none" ) ]
120
121
#[ lang = "AsyncGenReady" ]
121
122
pub fn async_gen_ready ( t : T ) -> Self {
@@ -124,13 +125,15 @@ impl<T> Poll<Option<T>> {
124
125
125
126
/// A helper constant for internal desugaring -- produces `Pending`,
126
127
/// which corresponds to the async iterator pending on an `.await`.
128
+ #[ doc( hidden) ]
127
129
#[ unstable( feature = "async_gen_internals" , issue = "none" ) ]
128
130
#[ lang = "AsyncGenPending" ]
129
131
// FIXME(gen_blocks): This probably could be deduplicated.
130
132
pub const PENDING : Self = Poll :: Pending ;
131
133
132
134
/// A helper constant for internal desugaring -- produces `Ready(None)`,
133
135
/// which corresponds to the async iterator finishing its iteration.
136
+ #[ doc( hidden) ]
134
137
#[ unstable( feature = "async_gen_internals" , issue = "none" ) ]
135
138
#[ lang = "AsyncGenFinished" ]
136
139
pub const FINISHED : Self = Poll :: Ready ( None ) ;
You can’t perform that action at this time.
0 commit comments