3 ms·
> For example, a variable's lifetime is relative to another variable or function. Why must we create a placeholder name like 'a instead of referring to the othe
by masklinn 10y ago
> For example, a variable's lifetime is relative to another variable or function. Why must we create a placeholder name like 'a instead of referring to the other variable by name?
Because they're different namespaces? &'x refers to the lifetime x, which has no relation to the local variable x, the global x, the type x or the module x.