We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3efea6 commit fff8be7Copy full SHA for fff8be7
README.md
@@ -67,7 +67,7 @@ fn assert_display(expected: &str, b: ByteSize) {
67
assert_to_string("301.0 KB", ByteSize::kb(301), false);
68
69
assert_to_string("1.0 MiB", ByteSize::mib(1), true);
70
- assert_to_string("1048.6 KB", ByteSize::mib(1), false);
+ assert_to_string("1.0 MB", ByteSize::mib(1), false);
71
72
assert_to_string("399.6 MiB", ByteSize::mb(419), true);
73
assert_to_string("419.0 MB", ByteSize::mb(419), false);
0 commit comments