mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-04-24 00:30:29 +02:00
Ignore code block that deliberately contains an error
This commit is contained in:
parent
3a4d5d4c26
commit
2ec7bdf15d
@ -29,7 +29,7 @@ fn main() {
|
|||||||
In the above example, try the following:
|
In the above example, try the following:
|
||||||
|
|
||||||
* Move the declaration of `p2` and `p3` into a a new scope (`{ ... }`), resulting in the following code:
|
* Move the declaration of `p2` and `p3` into a a new scope (`{ ... }`), resulting in the following code:
|
||||||
```rust,editable
|
```rust,ignore
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
struct Point(i32, i32);
|
struct Point(i32, i32);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user