]> git.proxmox.com Git - rustc.git/blobdiff - src/doc/reference/src/expressions/struct-expr.md
New upstream version 1.70.0+dfsg1
[rustc.git] / src / doc / reference / src / expressions / struct-expr.md
index 8caeff200a4b466ac59cd451dde18feee40e563c..8d9154789c5064349542ac759133c7e0caa3b6c8 100644 (file)
@@ -73,7 +73,7 @@ drop(y_ref);
 ```
 
 Struct expressions with curly braces can't be used directly in a [loop] or [if] expression's head, or in the [scrutinee] of an [if let] or [match] expression.
-However, struct expressions can be in used in these situations if they are within another expression, for example inside [parentheses].
+However, struct expressions can be used in these situations if they are within another expression, for example inside [parentheses].
 
 The field names can be decimal integer values to specify indices for constructing tuple structs.
 This can be used with base structs to fill out the remaining indices not specified: