News for hackers. Stuff that matters.
Re:Rust Language Cheat Sheet by phaylon on Sunday April 25, 2021 @10:01PM (#26938517)
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.

There are no comments on this comment yet.