Cleanup Crate API

This commit is contained in:
Aleksey Kladov 2019-12-08 12:01:45 +01:00
parent ffcdd25cc8
commit 08d3166c8b
5 changed files with 42 additions and 32 deletions

View file

@ -14,8 +14,8 @@ use crate::{
};
impl From<ra_db::CrateId> for Crate {
fn from(crate_id: ra_db::CrateId) -> Self {
Crate { crate_id }
fn from(id: ra_db::CrateId) -> Self {
Crate { id }
}
}