miniblog.
← Back to all posts
Wilfred Hughes
Jun 25, 2022 at 23:24
Using a Box<str> in Rust:
https://mahdi.blog/rust-box-str-vs-string/
(Unlike String, it isn't resizable, so it doesn't need to store capacity. Box<str> is only two words, unlike the three words in String!)