aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-12-08 11:44:14 +0000
committerAleksey Kladov <[email protected]>2019-12-08 11:44:14 +0000
commitb37c6a746b6c7cf85dc1ec6e40ac41455b8f2ec0 (patch)
treec816b6c6fe6e950fc0835259a2a5026e04267d51 /crates/ra_ide/src
parentb77d7c24aa929e53a2bc2a0ffa319de9bf1ab1fa (diff)
Remove ty from code_model
Diffstat (limited to 'crates/ra_ide/src')
-rw-r--r--crates/ra_ide/src/parent_module.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide/src/parent_module.rs b/crates/ra_ide/src/parent_module.rs
index aef3fa3df..f5a788c07 100644
--- a/crates/ra_ide/src/parent_module.rs
+++ b/crates/ra_ide/src/parent_module.rs
@@ -30,7 +30,7 @@ pub(crate) fn crate_for(db: &RootDatabase, file_id: FileId) -> Vec<CrateId> {
30 None => return Vec::new(), 30 None => return Vec::new(),
31 }; 31 };
32 let krate = module.krate(); 32 let krate = module.krate();
33 vec![krate.crate_id()] 33 vec![krate.into()]
34} 34}
35 35
36#[cfg(test)] 36#[cfg(test)]