Skip to content

Commit b852932

Browse files
authored
Merge pull request #1436 from imjoey/fix_lifetime_traits_indention
chore: Fix the indention of Borrowed definition
2 parents c80f0b0 + caf3b72 commit b852932

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/scope/lifetime/trait.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Note that `impl` may have annotation of lifetimes too.
66
```rust,editable
77
// A struct with annotation of lifetimes.
88
#[derive(Debug)]
9-
struct Borrowed<'a> {
10-
x: &'a i32,
11-
}
9+
struct Borrowed<'a> {
10+
x: &'a i32,
11+
}
1212
1313
// Annotate lifetimes to impl.
1414
impl<'a> Default for Borrowed<'a> {

0 commit comments

Comments
 (0)