Skip to content

Commit c9889b0

Browse files
committed
fix coroutine witness doctest
1 parent 6cfd809 commit c9889b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_type_ir/src/ty_kind.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,9 @@ pub enum TyKind<I: Interner> {
181181
/// Looking at the following example, the witness for this coroutine
182182
/// may end up as something like `for<'a> [Vec<i32>, &'a Vec<i32>]`:
183183
///
184-
/// ```ignore UNSOLVED (ask @compiler-errors, should this error? can we just swap the yields?)
184+
/// ```
185185
/// #![feature(coroutines)]
186-
/// |a| {
186+
/// static |a| {
187187
/// let x = &vec![3];
188188
/// yield a;
189189
/// yield x[0];

0 commit comments

Comments
 (0)