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:
commit
b2db5b9ffa
@ -61,7 +61,7 @@ write something like this:
|
||||
|
||||
```rust,ignore
|
||||
struct Point {
|
||||
mut x: i32,
|
||||
mut x: i32, // This causes an error.
|
||||
y: i32,
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user