fix compilation

This commit is contained in:
Aleksey Kladov 2019-06-11 18:11:17 +03:00
parent 14b1f87634
commit f6c227babd
2 changed files with 5 additions and 5 deletions

View file

@ -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.