summaryrefslogtreecommitdiff
path: root/cli/cache/mod.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2024-04-19 01:51:16 +0100
committerGitHub <noreply@github.com>2024-04-19 00:51:16 +0000
commit8e77f091ad9b1f8b3dc2eaf8b4a2be2560a67354 (patch)
tree178a101792ca4dc00216e77bb43ca36a1d63271d /cli/cache/mod.rs
parent90688edcc26ee6446acf0295bb7c25cfc33934a1 (diff)
perf(lsp): cleanup document dependencies (#23426)
Diffstat (limited to 'cli/cache/mod.rs')
-rw-r--r--cli/cache/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/cache/mod.rs b/cli/cache/mod.rs
index a51179213..aa8d3b9de 100644
--- a/cli/cache/mod.rs
+++ b/cli/cache/mod.rs
@@ -192,7 +192,7 @@ impl Loader for FetchCacher {
}
fn load(
- &mut self,
+ &self,
specifier: &ModuleSpecifier,
options: deno_graph::source::LoadOptions,
) -> LoadFuture {
@@ -278,7 +278,7 @@ impl Loader for FetchCacher {
}
fn cache_module_info(
- &mut self,
+ &self,
specifier: &ModuleSpecifier,
source: &Arc<[u8]>,
module_info: &deno_graph::ModuleInfo,