Skip to content

Commit

Permalink
Add error note to illegal code snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
polo-language committed Nov 3, 2016
1 parent 3a25b65 commit 635ed48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/book/structs.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ write something like this:

```rust,ignore
struct Point {
mut x: i32,
mut x: i32, // This causes an error.
y: i32,
}
```
Expand Down

0 comments on commit 635ed48

Please sign in to comment.