mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-03-20 14:31:15 +02:00
More precise phrasing of what ? expands to
As per the suggestion from @QuineDot in #65.
This commit is contained in:
parent
c7eff6b85e
commit
c15e84f63e
@ -1,12 +1,12 @@
|
|||||||
# Converting Error Types
|
# Converting Error Types
|
||||||
|
|
||||||
The actual expansion of `?` is a little more complicated than previously indicated:
|
The effective expansion of `?` is a little more complicated than previously indicated:
|
||||||
|
|
||||||
```rust,ignore
|
```rust,ignore
|
||||||
expression?
|
expression?
|
||||||
```
|
```
|
||||||
|
|
||||||
actually becomes
|
works the same as
|
||||||
|
|
||||||
```rust,ignore
|
```rust,ignore
|
||||||
match expression {
|
match expression {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user