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

Good to see public sharing not only of such a problem, but also how to fix it in your own code.

I am a bit disconcerted that something that apparently is warned against in the docs, is done across several "big" packages that use Hyper. Maybe with a more appropriate name exposed by the library, for example `to_bytes_unchecked`, such "bad" uses would be less wide-spread.



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

Search: