Frommi / miniz_oxide

Rust replacement for miniz
MIT License
168 stars 48 forks source link

Fix readme example #114

Closed MichaelMcDonnell closed 2 years ago

MichaelMcDonnell commented 2 years ago

I fixed the readme example. The comments used hashes instead of slashes. Furthermore, the decompressed variable was used for input to the decompression function instead of the compressed variable.

I also added a main function and a check so that the code can be run without any modifications.

oyvindln commented 2 years ago

thanks

MichaelMcDonnell commented 2 years ago

Thanks for merging!