Skip to content

Commit 9346519

Browse files
cherryblossom000joshtriplett
authored andcommitted
Add missing code fence
1 parent 5419aa3 commit 9346519

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/doc/style-guide/src/expressions.md

+2
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,12 @@ let f = Foo {
178178
Functional record update syntax is treated like a field, but it must never have
179179
a trailing comma. Do not put a space after `..`.
180180

181+
```rust
181182
let f = Foo {
182183
field1,
183184
..an_expr
184185
};
186+
```
185187

186188

187189
### Tuple literals

0 commit comments

Comments
 (0)