diff --git a/src/scope/lifetime/trait.md b/src/scope/lifetime/trait.md index 0f56f5b4c1..3c26df1194 100644 --- a/src/scope/lifetime/trait.md +++ b/src/scope/lifetime/trait.md @@ -6,9 +6,9 @@ Note that `impl` may have annotation of lifetimes too. ```rust,editable // A struct with annotation of lifetimes. #[derive(Debug)] - struct Borrowed<'a> { - x: &'a i32, - } +struct Borrowed<'a> { + x: &'a i32, +} // Annotate lifetimes to impl. impl<'a> Default for Borrowed<'a> {