Skip to content

Commit 0d1b9ee

Browse files
committed
Refer to Some(x) in expr.try.result-some
1 parent 864813f commit 0d1b9ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/expressions/operator-expr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ When applied to values of the `Option<T>` type, it propagates `None`s.
233233
r[expr.try.effects-none]
234234
If the value is `None`, then it will return `None`.
235235

236-
r[expr.try.result-ok]
236+
r[expr.try.result-some]
237237
If applied to `Some(x)`, then it will unwrap the value to evaluate to `x`.
238238

239239
```rust

0 commit comments

Comments
 (0)