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
This commit is contained in:
Steve Klabnik 2016-11-08 16:20:56 -05:00 committed by GitHub
commit b2db5b9ffa

View File

@ -61,7 +61,7 @@ write something like this:
```rust,ignore
struct Point {
mut x: i32,
mut x: i32, // This causes an error.
y: i32,
}
```