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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue