README typo in import

Not sure how this ended up in there (too much vim?) and not 100% confident my fix is correct, I'm doing this as a drive-by from the GitHub web UI, but the original didn't sound right.
This commit is contained in:
amos 2023-03-07 18:43:18 +01:00 committed by GitHub
parent caa4cc5260
commit 36352482a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,7 +81,7 @@ Enabling this feature makes two methods available:
To use it, bring the FormatSize trait into scope and call its method on an integer type: To use it, bring the FormatSize trait into scope and call its method on an integer type:
```ignore ```ignore
use humansize::{FormatSize, FormatSizeI DECIMAL}; use humansize::{FormatSize, DECIMAL};
assert_eq!(1_000_000u64.format_size(DECIMAL), "1 MB"); assert_eq!(1_000_000u64.format_size(DECIMAL), "1 MB");
assert_eq!((-1_000_000).format_size_i(DECIMAL), "-1 MB"); assert_eq!((-1_000_000).format_size_i(DECIMAL), "-1 MB");
@ -132,4 +132,4 @@ This project is licensed under either of
Unless you explicitly state otherwise, any contribution intentionally submitted Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in humansize by you, as defined in the Apache-2.0 license, shall be for inclusion in humansize by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions. dual licensed as above, without any additional terms or conditions.