mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 19:54:34 -06:00
Ignoring two code examples that should be ignored
This commit is contained in:
@@ -195,7 +195,7 @@ the end of the chapter.
|
||||
|
||||
Let's add a parameter. It won't quite fix it, but we get a different error:
|
||||
|
||||
```rust
|
||||
```rust,ignore
|
||||
fn foo<'a>() -> &'a i32 {
|
||||
let x = 5;
|
||||
|
||||
@@ -250,7 +250,7 @@ println!("r: {}", r); // |
|
||||
|
||||
But in this case:
|
||||
|
||||
```rust
|
||||
```rust,ignore
|
||||
fn foo<'a>() -> &'a i32 {
|
||||
let x = 5;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user