mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-07 18:16:15 +02:00
Fix typo in lifetime annotations section (#1590)
The code example was meant to be `editable` but was marked as `eitable`.
This commit is contained in:
parent
ee826ef742
commit
c6973018c6
@ -19,7 +19,7 @@ ambiguity; the compiler verifies that there is a valid solution.
|
|||||||
Lifetimes become more complicated when considering passing values to and
|
Lifetimes become more complicated when considering passing values to and
|
||||||
returning values from functions.
|
returning values from functions.
|
||||||
|
|
||||||
```rust,eitable,compile_fail
|
```rust,editable,compile_fail
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
struct Point(i32, i32);
|
struct Point(i32, i32);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user