mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-11-28 18:11:07 +02:00
Update references-dangling.md
This commit is contained in:
parent
264047445f
commit
73e9a0b854
@ -13,7 +13,7 @@ fn main() {
|
||||
}
|
||||
```
|
||||
|
||||
* A reference is said to "borrow" the value is refers to.
|
||||
* A reference is said to "borrow" the value it refers to.
|
||||
* Rust is tracking the lifetimes of all references to ensure they live long
|
||||
enough.
|
||||
* We will talk more about borrowing when we get to ownership.
|
||||
|
Loading…
Reference in New Issue
Block a user