Skip to content

Commit

Permalink
Merge pull request #1436 from imjoey/fix_lifetime_traits_indention
Browse files Browse the repository at this point in the history
chore: Fix the indention of Borrowed definition
  • Loading branch information
marioidival authored Apr 27, 2021
2 parents c80f0b0 + caf3b72 commit b852932
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/scope/lifetime/trait.md
Original file line number Diff line number Diff line change
Expand Up @@ -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> {
Expand Down

0 comments on commit b852932

Please sign in to comment.