aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/code_model_api.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir/src/code_model_api.rs')
-rw-r--r--crates/ra_hir/src/code_model_api.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_hir/src/code_model_api.rs b/crates/ra_hir/src/code_model_api.rs
index 2f968d97c..f1e891722 100644
--- a/crates/ra_hir/src/code_model_api.rs
+++ b/crates/ra_hir/src/code_model_api.rs
@@ -21,8 +21,8 @@ impl Crate {
21 pub fn crate_id(&self) -> CrateId { 21 pub fn crate_id(&self) -> CrateId {
22 self.crate_id 22 self.crate_id
23 } 23 }
24 pub fn dependencies(&self, db: &impl HirDatabase) -> Vec<CrateDependency> { 24 pub fn dependencies(&self, db: &impl HirDatabase) -> Cancelable<Vec<CrateDependency>> {
25 self.dependencies_impl(db) 25 Ok(self.dependencies_impl(db))
26 } 26 }
27 pub fn root_module(&self, db: &impl HirDatabase) -> Cancelable<Option<Module>> { 27 pub fn root_module(&self, db: &impl HirDatabase) -> Cancelable<Option<Module>> {
28 self.root_module_impl(db) 28 self.root_module_impl(db)