diff options
Diffstat (limited to 'cli/lsp/cache.rs')
-rw-r--r-- | cli/lsp/cache.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/lsp/cache.rs b/cli/lsp/cache.rs index 23469a583..bad932176 100644 --- a/cli/lsp/cache.rs +++ b/cli/lsp/cache.rs @@ -55,9 +55,9 @@ pub struct CacheMetadata { } impl CacheMetadata { - pub fn new(location: &Path) -> Self { + pub fn new(cache: HttpCache) -> Self { Self { - cache: HttpCache::new(location), + cache, metadata: Default::default(), } } |