코딩Coding/Rust용어
(Rust용어)More Lifetime Elision
내인생PLUS
2020. 9. 20. 10:09
728x90
https://doc.rust-lang.org/beta/nomicon/lifetime-elision.html
Lifetime Elision - The Rustonomicon
In order to make common patterns more ergonomic, Rust allows lifetimes to be elided in function signatures. A lifetime position is anywhere you can write a lifetime in a type: &'a T &'a mut T T<'a> Lifetime positions can appear as either "input" or "output
doc.rust-lang.org
반응형