We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 87d6244 + 9bfbba3 commit e631a72Copy full SHA for e631a72
src/std/result/question_mark.md
@@ -3,7 +3,7 @@
3
Chaining results using match can get pretty untidy; luckily, the `?` operator
4
can be used to make things pretty again. `?` is used at the end of an expression
5
returning a `Result`, and is equivalent to a match expression, where the
6
-`Err(err)` branch expands to an early `Err(From::from(err))`, and the `Ok(ok)`
+`Err(err)` branch expands to an early `return Err(From::from(err))`, and the `Ok(ok)`
7
branch expands to an `ok` expression.
8
9
```rust,editable,ignore,mdbook-runnable
0 commit comments