Skip to content

Commit e68eb8f

Browse files
authored
Merge pull request #3110 from mbartlett21/patch-1
Fix RFC 243 code blocks and add note
2 parents 4514182 + a3b85cf commit e68eb8f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

+3-1
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)