From 8e77f091ad9b1f8b3dc2eaf8b4a2be2560a67354 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Fri, 19 Apr 2024 01:51:16 +0100 Subject: perf(lsp): cleanup document dependencies (#23426) --- cli/cache/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/cache') 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, -- cgit v1.2.3