diff options
Diffstat (limited to 'cli/lsp/memory_cache.rs')
-rw-r--r-- | cli/lsp/memory_cache.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cli/lsp/memory_cache.rs b/cli/lsp/memory_cache.rs index 75c5bdb25..cfba1ecab 100644 --- a/cli/lsp/memory_cache.rs +++ b/cli/lsp/memory_cache.rs @@ -4,7 +4,6 @@ use deno_core::error::AnyError; use deno_core::ModuleSpecifier; use std::collections::HashMap; use std::fmt; -use std::mem; #[derive(Copy, Clone, Debug, Ord, PartialOrd, Eq, PartialEq, Hash)] pub struct FileId(pub u32); @@ -111,10 +110,6 @@ impl MemoryCache { change_kind, }) } - - pub fn take_changes(&mut self) -> Vec<ChangedFile> { - mem::take(&mut self.changes) - } } impl fmt::Debug for MemoryCache { |