mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 04:29:41 +00:00
Update en/src/lifetime/basic.md
This commit is contained in:
@ -314,7 +314,7 @@ fn main() {}
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Elision
|
## Elision
|
||||||
Some lifetime patterns are so common that the borrow checker will allow you to omit them to save typing and to improve readability.
|
Some lifetime patterns are so common that borrow checker will allow you to omit them to save typing and improve readability.
|
||||||
|
|
||||||
This is known as **Elision**. Elision exist in Rust only because these patterns are common.
|
This is known as **Elision**. Elision exist in Rust only because these patterns are common.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user