diff options
author | Ben S <ogham@bsago.me> | 2015-02-12 22:33:01 +0000 |
---|---|---|
committer | Ben S <ogham@bsago.me> | 2015-02-12 22:33:01 +0000 |
commit | ec51867a5374715165c5e3e76a8e2fb7044bbfd6 (patch) | |
tree | 81e0a10a88a68f8d236d68befa7ecc260df8d72d /src/file.rs | |
parent | 2906b8676a9b3e76014d65a9940bf576ce1e4852 (diff) |
Upgrade to latest Rust
- Update package versions
- locale::default -> locale::english
- Argument handling changes
Diffstat (limited to 'src/file.rs')
-rw-r--r-- | src/file.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file.rs b/src/file.rs index 3401f46..3d42625 100644 --- a/src/file.rs +++ b/src/file.rs @@ -292,7 +292,7 @@ impl<'a> File<'a> { match result { Standalone(bytes) => Cell::paint(Green.bold(), &*bytes.to_string()), Prefixed(prefix, n) => { - let number = if n < 10f64 { locale.format_float(n, 1, false) } else { locale.format_int(n as isize) }; + let number = if n < 10f64 { locale.format_float(n, 1) } else { locale.format_int(n as isize) }; let symbol = prefix.symbol(); Cell { |