minor: remove dead code

It has been living in RootDatabase::apply_change almost a year by now.
This commit is contained in:
Aleksey Kladov 2021-07-20 20:18:39 +03:00
parent c7c2144fa3
commit 08caf36d9a
2 changed files with 1 additions and 13 deletions

View file

@ -411,7 +411,7 @@ impl ops::Index<CrateId> for CrateGraph {
}
impl CrateId {
pub fn shift(self, amount: u32) -> CrateId {
fn shift(self, amount: u32) -> CrateId {
CrateId(self.0 + amount)
}
}