-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReaderUtil::each_byte includes trailing EOF #5056
Comments
Using Rust 9143688 pulled yesterday. |
Issue #2004 is probably related, in that it wasn't clear whether it's ok for read_byte to return -1. |
Something like
But the build is soooo slowwwwwww |
@martine can you open a PR with that patch please? |
(Reproduces) |
Pull request #8081. |
Sorry for never cleaning up my initial patch, I think I had imagined things would be thrown away and redone before my patch was ever useful. I think ultimately it's pretty busted to provide a |
@martine I agree, |
Pull request merged into master, issue can be closed now. |
…1995 Avoid mut_key on types of unknown layout This fixes rust-lang#5020 by requiring a known layout for the key type before linting. Edit: This fixes rust-lang#5043, too. changelog: none
That last byte shouldn't be included.
The text was updated successfully, but these errors were encountered: