zip-rs / zip-old

Zip implementation in Rust
MIT License
731 stars 204 forks source link

Add units to the size documentation #336

Closed jkasari closed 1 year ago

jkasari commented 1 year ago

The documentation did not list what it meant by "size". I changed it to specify that it is returning the size in bytes.

The standard library fs module specifies that size is returned in bytes. I modified this documentation to match the style of the standard library.

https://doc.rust-lang.org/std/fs/struct.Metadata.html#method.len

zamazan4ik commented 1 year ago

Thanks!