External Publication
Visit Post

Add new reserved lifetime: 'owned

Rust Internals [Unofficial] April 4, 2026
Source

Voldemat:

This creates issues when we try to make a structure that is polymorphic over some type parameter S that could be a string slice reference or owned String.

How so? Cow<'static, str> works fine as far as I remember.

Discussion in the ATmosphere

Loading comments...