You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/expressions/struct-expr.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ drop(y_ref);
73
73
```
74
74
75
75
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.
76
-
However, struct expressions can be in used in these situations if they are within another expression, for example inside [parentheses].
76
+
However, struct expressions can be used in these situations if they are within another expression, for example inside [parentheses].
77
77
78
78
The field names can be decimal integer values to specify indices for constructing tuple structs.
79
79
This can be used with base structs to fill out the remaining indices not specified:
0 commit comments