Hacker News new | ask | show | jobs
by phaylon 1884 days ago
You can store it independently without it being borrowed. So your structs don't need lifetimes.

I consider it a midpoint between `String` and `&str`. Most of the convenience of `String` (barring mutation) but less costly.