From f46df3e35940fc78163945eed33e58fafed0b06b Mon Sep 17 00:00:00 2001 From: linbingquan <695601626@qq.com> Date: Sun, 18 Dec 2022 06:20:15 +0800 Subject: chore: update to Rust 1.66.0 (#17078) --- cli/cache/disk_cache.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/cache') diff --git a/cli/cache/disk_cache.rs b/cli/cache/disk_cache.rs index 60e353d85..894b96d2a 100644 --- a/cli/cache/disk_cache.rs +++ b/cli/cache/disk_cache.rs @@ -136,7 +136,7 @@ impl DiskCache { pub fn get(&self, filename: &Path) -> std::io::Result> { let path = self.location.join(filename); - fs::read(&path) + fs::read(path) } pub fn set(&self, filename: &Path, data: &[u8]) -> std::io::Result<()> { -- cgit v1.2.3