We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c86c73 commit eeb2960Copy full SHA for eeb2960
src/patterns.md
@@ -231,7 +231,7 @@ To make it valid, write the following:
231
# age: u8,
232
# }
233
# let value = Person { name: String::from("John"), age: 23 };
234
-if let Person {name: ref person_name, age: 18..=150 } = value { }
+if let Person { name: ref person_name, age: 18..=150 } = value { }
235
```
236
237
Thus, `ref` is not something that is being matched against.
0 commit comments