mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
fix compilation
This commit is contained in:
parent
14b1f87634
commit
f6c227babd
2 changed files with 5 additions and 5 deletions
|
@ -16,7 +16,7 @@ pub trait HasSource {
|
|||
fn source(self, db: &(impl DefDatabase + AstDatabase)) -> Source<Self::Ast>;
|
||||
}
|
||||
|
||||
/// NB: Module is !HasSource, becase it has two source nodes at the same time:
|
||||
/// NB: Module is !HasSource, because it has two source nodes at the same time:
|
||||
/// definition and declaration.
|
||||
impl Module {
|
||||
/// Returns a node which defines this module. That is, a file or a `mod foo {}` with items.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue