1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-04-16 13:48:52 +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:
Martin Huschenbett 2023-12-13 19:41:32 +01:00 committed by GitHub
parent ee826ef742
commit c6973018c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ ambiguity; the compiler verifies that there is a valid solution.
Lifetimes become more complicated when considering passing values to and
returning values from functions.
```rust,eitable,compile_fail
```rust,editable,compile_fail
#[derive(Debug)]
struct Point(i32, i32);