logoalt Hacker News

38last Wednesday at 3:07 AM1 replyview on HN

"u8" would have done the job fine and actually been readable


Replies

Machalast Wednesday at 12:48 PM

It would need to be &u8, as without a reference, you won't have any captured lifetimes, and therefore it wouldn't serve as an example for the capturing lifetime feature. &u8 is also a mostly pointless type in reality.