diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2016-11-08 16:20:56 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-11-08 16:20:56 -0500 |
| commit | b2db5b9ffa87cffc28a53ac9d029f476758db039 (patch) | |
| tree | 58403bc0b9768b9cc7718b2ea66cef64175594c6 | |
| parent | 8fd202615f3ba5b4ed467c2841c1ebeccff57c48 (diff) | |
| parent | 635ed480b9f497a0b7d29f2ca970014e122918d0 (diff) | |
Rollup merge of #37425 - polo-language:doc, r=GuillaumeGomez
Add error note to illegal code snippet Mark intentionally invalid code snippet in documentation as such with a comment. Similar comments used elsewhere in this file. r? @steveklabnik
| -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, } ``` |
