1
0
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:
Martin Geisler 2022-12-27 18:09:54 +01:00 committed by GitHub
parent c7eff6b85e
commit c15e84f63e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {