mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
minor: remove dead code
It has been living in RootDatabase::apply_change almost a year by now.
This commit is contained in:
parent
c7c2144fa3
commit
08caf36d9a
2 changed files with 1 additions and 13 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue