fn foo<'a>(x: &'a u32) {
// ...
}
This specifies that foo has lifetime 'a, and the parameter x must have a lifetime of at least 'a. Function lifetimes are usually omitted through lifetime elision:
fn foo(x: &u32) {
// ...
}
In the case that a function takes multiple ...