summaryrefslogtreecommitdiff
path: root/cli/cache/disk_cache.rs
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2022-11-17 22:59:10 -0300
committerGitHub <noreply@github.com>2022-11-18 02:59:10 +0100
commit238590aa9fdfe2aac04bb96abad2f2d2feb3101a (patch)
treef8fa04e39baecb5460076c1329ca38ae31f440b6 /cli/cache/disk_cache.rs
parent483c10c94b8a5de49cee4c4b9a3ce74726501c8a (diff)
chore: use Rust 1.65.0 (#16688)
Diffstat (limited to 'cli/cache/disk_cache.rs')
-rw-r--r--cli/cache/disk_cache.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/cache/disk_cache.rs b/cli/cache/disk_cache.rs
index 5a2f11e3c..81379ac94 100644
--- a/cli/cache/disk_cache.rs
+++ b/cli/cache/disk_cache.rs
@@ -40,7 +40,7 @@ impl DiskCache {
if path.is_dir() {
return Ok(());
}
- fs::create_dir_all(&path).map_err(|e| {
+ fs::create_dir_all(path).map_err(|e| {
io::Error::new(e.kind(), format!(
"Could not create TypeScript compiler cache location: {:?}\nCheck the permission of the directory.",
path