summaryrefslogtreecommitdiff
path: root/cli/disk_cache.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-02-24 20:03:12 -0500
committerGitHub <noreply@github.com>2022-02-24 20:03:12 -0500
commit3b12afd0723b288feb7c8c53ac3938a17fd0e57c (patch)
tree8ac398efaef6e59e3ab2278f378706aa44b5641e /cli/disk_cache.rs
parentc59152e4000393ad122855c26198c1d942497c00 (diff)
chore: upgrade to Rust 1.59 (#13767)
Diffstat (limited to 'cli/disk_cache.rs')
-rw-r--r--cli/disk_cache.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/disk_cache.rs b/cli/disk_cache.rs
index d3d294c18..349b786b7 100644
--- a/cli/disk_cache.rs
+++ b/cli/disk_cache.rs
@@ -91,7 +91,7 @@ impl DiskCache {
| Prefix::VerbatimUNC(server, share) => {
out.push("UNC");
let host = Host::parse(server.to_str().unwrap()).unwrap();
- let host = host.to_string().replace(":", "_");
+ let host = host.to_string().replace(':', "_");
out.push(host);
out.push(share);
}