Add missing code fence

This commit is contained in:
cherryblossom000 2021-04-16 20:28:15 +10:00 committed by Josh Triplett
parent 5419aa3a66
commit 9346519b05

View File

@ -178,10 +178,12 @@ let f = Foo {
Functional record update syntax is treated like a field, but it must never have
a trailing comma. Do not put a space after `..`.
```rust
let f = Foo {
field1,
..an_expr
};
```
### Tuple literals