@@ -171,7 +171,7 @@ for i in -2..5 {
171
171
Identifier patterns bind the value they match to a variable. The identifier
172
172
must be unique within the pattern. The variable will shadow any variables of
173
173
the same name in scope. The scope of the new binding depends on the context of
174
- where the pattern is used (such as a ` let ` binding versus a ` match ` arm).
174
+ where the pattern is used (such as a ` let ` binding or a ` match ` arm).
175
175
176
176
Patterns that consist of only an identifier, possibly with a ` mut ` , like
177
177
` variable ` , ` x ` , and ` y ` below:
@@ -201,7 +201,7 @@ match x {
201
201
binds to ` e ` the value 2 (not the entire range: the range here is a range subpattern).
202
202
203
203
By default, identifier patterns bind a variable to a copy of or move from the
204
- matched value depending on whether the matched value implements [ Copy] .
204
+ matched value depending on whether the matched value implements [ ` Copy ` ] .
205
205
This can be changed to bind to a reference by using the ` ref ` keyword,
206
206
or to a mutable reference using ` ref mut ` . For example:
207
207
@@ -648,7 +648,7 @@ refer to refutable constants or enum variants for enums with multiple variants.
648
648
[ _SlicePattern_ ] : #slice-patterns
649
649
[ _PathPattern_ ] : #path-patterns
650
650
651
- [ Copy ] : special-types-and-traits.html#copy
651
+ [ ` Copy` ] : special-types-and-traits.html#copy
652
652
[ IDENTIFIER ] : identifiers.html
653
653
[ enums ] : items/enumerations.html
654
654
[ literals ] : expressions/literal-expr.html
0 commit comments