summaryrefslogtreecommitdiff
path: root/cli/lsp/config.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2024-05-09 20:22:27 +0100
committerGitHub <noreply@github.com>2024-05-09 20:22:27 +0100
commit439b3b8db97106be44bb5fde9573632c20ed4e95 (patch)
tree22c54102ccddecaa0209d128f71fb33fc891fe4e /cli/lsp/config.rs
parentf0e8ec01461519dddcb61f1b91b4455a354e38e6 (diff)
refactor(lsp): unify caching into LspCache (#23746)
Diffstat (limited to 'cli/lsp/config.rs')
-rw-r--r--cli/lsp/config.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/cli/lsp/config.rs b/cli/lsp/config.rs
index e1fed5a54..597f45688 100644
--- a/cli/lsp/config.rs
+++ b/cli/lsp/config.rs
@@ -1454,10 +1454,6 @@ impl ConfigTree {
.unwrap_or_default()
}
- pub fn root_vendor_dir(&self) -> Option<&PathBuf> {
- self.root_data().and_then(|d| d.vendor_dir.as_ref())
- }
-
pub fn root_lockfile(&self) -> Option<&Arc<Mutex<Lockfile>>> {
self.root_data().and_then(|d| d.lockfile.as_ref())
}