mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
simplify
This commit is contained in:
parent
0b820cacab
commit
f6f2d69bb8
3 changed files with 6 additions and 8 deletions
|
@ -8,7 +8,7 @@ use crate::{HirFileId, DefDatabase};
|
|||
/// Identifier of item within a specific file. This is stable over reparses, so
|
||||
/// it's OK to use it as a salsa key/value.
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
pub struct SourceFileItemId(RawId);
|
||||
pub(crate) struct SourceFileItemId(RawId);
|
||||
impl_arena_id!(SourceFileItemId);
|
||||
|
||||
impl SourceFileItemId {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue