File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler/rustc_ast_lowering/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1609,11 +1609,11 @@ impl<'hir> LoweringContext<'_, 'hir> {
16091609 }
16101610
16111611 /// Desugar `ExprKind::Yeet` from: `do yeet <expr>` into:
1612- /// ```rust
1612+ /// ```ignore(illustrative)
16131613 /// // If there is an enclosing `try {...}`:
1614- /// break 'catch_target FromResidual::from_residual(Yeet(residual)),
1614+ /// break 'catch_target FromResidual::from_residual(Yeet(residual));
16151615 /// // Otherwise:
1616- /// return FromResidual::from_residual(Yeet(residual)),
1616+ /// return FromResidual::from_residual(Yeet(residual));
16171617 /// ```
16181618 /// But to simplify this, there's a `from_yeet` lang item function which
16191619 /// handles the combined `FromResidual::from_residual(Yeet(residual))`.
You can’t perform that action at this time.
0 commit comments