Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: