15
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 26 Sep 2024
15 points (100.0% liked)
Rust Programming
9243 readers
1 users here now
founded 7 years ago
MODERATORS
There is a to_owned() thingy I use that for path buf shenanigans. Basically the value you create is a pointer reference short of. To_owned allocates it on memory.