encoding_rs
encoding_rs copied to clipboard
A Gecko-oriented implementation of the Encoding Standard in Rust
This PR cleans up the clippy lints, allowing some and addressing others. I am developing on x86_64 Windows, so there's a chance I've overlooked lints in platform-specific places such as...
No changes to the generated files, as those still generate the same.
The clippy::uninit_vec lint pointed out this issue in a few places, and then some manual review found many more places where Vec::set_len was being abused. This introduces buffer zeroing in...
Not sure if it's really worth a commit but I thought I would submit a PR anyway… No hard feelings if you turn it down!