Lifetime Elision
-
Each reference parameter get its own lifetime
-
If there is exactly one input lifetime parameter that lifetime is assigned to all output lifetime parameters
-
It there are multiple lifetime parameters but one of theme is &self or &mut self the lifetime of self is assigned to all output parameters.