hyunsik / bytesize

An utility that easily makes bytes size representation and helps its arithmetic operations.
Apache License 2.0
110 stars 29 forks source link

Implement `Sub` trait #39

Open jgrund opened 1 year ago

jgrund commented 1 year ago

Trying to subtract two ByteSize, I noticed that Sub is not implemented.

I can convert to u64 and sub, but it would be better if I could subtract directly.