mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-01-09 01:02:47 +02:00
Merge pull request #74 from google/try-operator
More precise phrasing of what ? expands to
This commit is contained in:
commit
dcf29d4653
@ -1,12 +1,12 @@
|
||||
# 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
|
||||
expression?
|
||||
```
|
||||
|
||||
actually becomes
|
||||
works the same as
|
||||
|
||||
```rust,ignore
|
||||
match expression {
|
||||
|
Loading…
Reference in New Issue
Block a user