]> git.proxmox.com Git - proxmox-fuse.git/commitdiff
fix deprecated use of std::f64 modules
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 4 Oct 2021 13:03:12 +0000 (15:03 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 4 Oct 2021 13:03:12 +0000 (15:03 +0200)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/sys.rs

index f036e022a491587d399f379ce419374b340a675a..3cb5c339df9631e53f0bf99b7fc76418201e3688 100644 (file)
@@ -176,8 +176,8 @@ impl EntryParam {
             inode,
             generation: 1,
             attr,
-            attr_timeout: std::f64::MAX,
-            entry_timeout: std::f64::MAX,
+            attr_timeout: f64::MAX,
+            entry_timeout: f64::MAX,
         }
     }
 }