News for hackers. Stuff that matters.
Re:Mistakes with Rust smart pointers: when Deref goes wrong by classified on Tuesday July 11, 2023 @03:26AM (#36677550)
> the idiomatic course of action would be to use a newtype to wrap a Vec<u8>

But isn't that wrong already? The element type `u8` is not an ASCII char. We need a subtype of `u8`, like `u7` if that existed.

There are no comments on this comment yet.