mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 19:34:32 -06:00
Add a missing rust syntax annotation
This commit is contained in:
@@ -140,7 +140,7 @@ that you already know, except without the `struct` keyword and they are grouped
|
||||
together under the `Message` type. These structs could hold the same data that
|
||||
these enum variants hold:
|
||||
|
||||
```
|
||||
```rust
|
||||
struct QuitMessage; // unit struct
|
||||
struct MoveMessage {
|
||||
x: i32,
|
||||
|
||||
Reference in New Issue
Block a user