BurntSushi / rust-snappy

Snappy compression implemented in Rust (including the Snappy frame format).
BSD 3-Clause "New" or "Revised" License
445 stars 43 forks source link

Fix for #56 #57

Closed icmccorm closed 10 months ago

icmccorm commented 10 months ago

Fixed tree borrows violation in #56 by moving self.dst.len() outside of the loop.

BurntSushi commented 10 months ago

This PR is on crates.io in snap 1.1.1.