mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
ItemId based module source
This commit is contained in:
parent
9027a21f9a
commit
3922503205
3 changed files with 23 additions and 20 deletions
|
@ -22,10 +22,6 @@ impl SyntaxPtr {
|
|||
let local = LocalSyntaxPtr::new(node);
|
||||
SyntaxPtr { file_id, local }
|
||||
}
|
||||
|
||||
pub(crate) fn file_id(self) -> FileId {
|
||||
self.file_id
|
||||
}
|
||||
}
|
||||
|
||||
/// A pionter to a syntax node inside a file.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue