diff options
| author | Angelo Polo <polo.language@gmail.com> | 2016-10-26 21:13:31 -0400 |
|---|---|---|
| committer | Angelo Polo <polo.language@gmail.com> | 2016-11-03 09:08:13 -0400 |
| commit | 635ed480b9f497a0b7d29f2ca970014e122918d0 (patch) | |
| tree | c2084b74cbe7cb8a601811d4f43adcdefeecf1e6 /src/doc | |
| parent | 3a25b65c1fbdd6101b77e8a8b06a5e42d775dc3f (diff) | |
Add error note to illegal code snippet
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/book/structs.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/structs.md b/src/doc/book/structs.md index 328db25b819..d6960b10b08 100644 --- a/src/doc/book/structs.md +++ b/src/doc/book/structs.md @@ -61,7 +61,7 @@ write something like this: ```rust,ignore struct Point { - mut x: i32, + mut x: i32, // This causes an error. y: i32, } ``` |
