4 ms·
Non-lexical lifetimes are, in my experience, pretty uncommon in most non-library code. To avoid confusing the newcomers: lifetimes are always non-lexical (see
by inejge 3y ago
Non-lexical lifetimes are, in my experience, pretty uncommon in most non-library code.
To avoid confusing the newcomers: lifetimes are always non-lexical (see [1] for the pedantic details.) I suppose you meant that explicit lifetime annotations are pretty uncommon, which is not wrong.
[1] https://blog.rust-lang.org/2022/08/05/nll-by-default.html https://blog.rust-lang.org/2022/08/05/nll-by-default.html
- packetlost 3y agoOh yeah, wrong terminology. My bad!