Skip to content

Commit a3b85cf

Browse files
committed
Fix RFC 243 code blocks and add note
This fixes the code blocks that broke in the previous commit and adds a note about rfc 2046 `label-break-value`
1 parent 4514182 commit a3b85cf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

text/0243-trait-based-exception-handling.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ enclosing block specified by `'a`, which then evaluates to the value `EXPR` (of
160160
course, the type of `EXPR` must unify with the type of the last expression in
161161
that block). This works for any block, not only loops.
162162

163+
\[Note: This was since added in [RFC 2046](https://github.com/rust-lang/rfcs/blob/master/text/2046-label-break-value.md)]
164+
163165
A completely artificial example:
164166

165167
```rust
@@ -296,7 +298,7 @@ as follows:
296298
}
297299
```
298300

299-
Shallow:
301+
Shallow:
300302

301303
```rust
302304
match (catch {

0 commit comments

Comments
 (0)