Skip to content

Commit

Permalink
Merge pull request #3110 from mbartlett21/patch-1
Browse files Browse the repository at this point in the history
Fix RFC 243 code blocks and add note
  • Loading branch information
ehuss authored Oct 8, 2022
2 parents 4514182 + a3b85cf commit e68eb8f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion text/0243-trait-based-exception-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ enclosing block specified by `'a`, which then evaluates to the value `EXPR` (of
course, the type of `EXPR` must unify with the type of the last expression in
that block). This works for any block, not only loops.

\[Note: This was since added in [RFC 2046](/~https://github.com/rust-lang/rfcs/blob/master/text/2046-label-break-value.md)]

A completely artificial example:

```rust
Expand Down Expand Up @@ -296,7 +298,7 @@ as follows:
}
```

Shallow:
Shallow:

```rust
match (catch {
Expand Down

0 comments on commit e68eb8f

Please sign in to comment.