You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-25 10:12:53 +02:00
Ignore code block that deliberately contains an error
This commit is contained in:
@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user