mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 04:29:41 +00:00
fix: typo
This commit is contained in:
committed by
GitHub
parent
588cd2d77c
commit
5a899e2329
@ -324,7 +324,7 @@ For a more comprehensive understanding of elision, please see [lifetime elision]
|
||||
```rust,editable
|
||||
/* Remove all the lifetimes that can be elided */
|
||||
|
||||
fn nput<'a>(x: &'a i32) {
|
||||
fn input<'a>(x: &'a i32) {
|
||||
println!("`annotated_input`: {}", x);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user