Re:Go is still not good
by zozbot234 on Friday August 22, 2025 @12:53PM
(#44986811)
str is not really a "primitive type", it only exists abstractly as an argument to type constructors - treating the & operator as a "type constructor" for that purpose, but including Box<>, Rc<>, Arc<> etc. So you can have Box<str> or Arc<str> in addition to &str or perhaps &mut str, but not really 'str' in isolation.
[ Parent
| on HN ]
There are no comments on this comment yet.