From c6973018c667fa5e846821e49e8610bd3aead3ee Mon Sep 17 00:00:00 2001 From: Martin Huschenbett Date: Wed, 13 Dec 2023 19:41:32 +0100 Subject: [PATCH] Fix typo in lifetime annotations section (#1590) The code example was meant to be `editable` but was marked as `eitable`. --- src/slices-and-lifetimes/lifetime-annotations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slices-and-lifetimes/lifetime-annotations.md b/src/slices-and-lifetimes/lifetime-annotations.md index 4fc38fda..ebee3016 100644 --- a/src/slices-and-lifetimes/lifetime-annotations.md +++ b/src/slices-and-lifetimes/lifetime-annotations.md @@ -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);