humansize
humansize copied to clipboard
Please provide an infallible version for only unsigned values
file_size
returns a Result, but as far as I can tell the only case where it can actually return Err
is if given a negative number. It'd be convenient to treat the method as infallible for the common case of calling it on an unsigned number. Please consider providing an infallible method exclusively on unsigned types.