Skip to content

Commit eb110f2

Browse files
committed
Fix fragment specifier for $struct_name
1 parent a666077 commit eb110f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0000-type-changing-struct-update-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ the base and updated instances. The following conditions must be met:
180180
The struct update syntax is the following:
181181

182182
```rust
183-
$struct_name:ident {
183+
$struct_name:path {
184184
$($field_name:ident: $field_value:expr,)*
185185
..$base_instance:expr
186186
}

0 commit comments

Comments
 (0)