rollup merge of #16852 : steveklabnik/desugar_destructure
This commit is contained in:
commit
56a029f145
@ -4068,7 +4068,7 @@ match x {
|
||||
}
|
||||
```
|
||||
|
||||
If you have a struct, you can desugar it inside of a pattern:
|
||||
If you have a struct, you can destructure it inside of a pattern:
|
||||
|
||||
```{rust}
|
||||
struct Point {
|
||||
|
Loading…
x
Reference in New Issue
Block a user