diff options
author | rabite <rabite@posteo.de> | 2019-12-09 01:21:59 +0100 |
---|---|---|
committer | rabite <rabite@posteo.de> | 2019-12-09 01:21:59 +0100 |
commit | 17c25221241c61acf6a77967471439775829abe8 (patch) | |
tree | dd4cc3d425c11a37e5ba9257ccfb3141a3916f96 /src | |
parent | d42f7d328c53e010cf28153a25168368b8b0376c (diff) |
update dependencies and fix build
Diffstat (limited to 'src')
-rw-r--r-- | src/stats.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/stats.rs b/src/stats.rs index b996772..4fc3539 100644 --- a/src/stats.rs +++ b/src/stats.rs @@ -76,10 +76,12 @@ impl FsExt for Filesystem { } fn get_total(&self) -> String { - self.total.to_string(false) + self.total.to_string_as(false) } fn get_free(&self) -> String { - self.avail.to_string(false) + self.avail.to_string_as(false) } + + } |