7 ms·
It's just a reference to a reference. It has nothing to do with lifetime correlations. Also, it's a lot less weird if you don't stop in the middle of the type.
by dannymi 3y ago
It's just a reference to a reference. It has nothing to do with lifetime correlations.
Also, it's a lot less weird if you don't stop in the middle of the type. The entire type is for example
&'a &'b u8
or
&'a &'b ()
So the outer reference has lifetime 'a and the inner reference has lifetime 'b.
- Georgelemental 3y ago> It has nothing to do with lifetime correlations Yes it does; there's an implied `'b: 'a` outlives relationship that's required for the type to be well-formed.