Re:Tour of Rust
by dbaupp on Monday July 13, 2020 @08:09PM
(#23827149)
Unsafe generic code likely cares, where it is coercing a &T to a *const T and then relying on pointer stability/consistency. It will also cause difficulties with methods like ‘.capacity()’, because that info is lost with &str.
[ Parent
| on HN ]
There are no comments on this comment yet.