Fix typo in references-and-borrowing docs
This commit is contained in:
parent
9ecc9896de
commit
a168a15008
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ become quite acquainted. Ownership is how Rust achieves its largest goal,
|
|||
memory safety. There are a few distinct concepts, each with its own
|
||||
chapter:
|
||||
|
||||
* [ownership][ownership], ownership, the key concept
|
||||
* [ownership][ownership], the key concept
|
||||
* borrowing, which you’re reading now
|
||||
* [lifetimes][lifetimes], an advanced concept of borrowing
|
||||
|
||||
|
@ -368,4 +368,4 @@ statement 1 at 3:14
|
|||
|
||||
println!("{}", y);
|
||||
}
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue