Skip to content

Commit 22b863c

Browse files
committed
Fixed comments
1 parent 1f0e9c1 commit 22b863c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/ra_hir/src/nameres/collector.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ where
497497

498498
fn collect_module(&mut self, module: &raw::ModuleData) {
499499
match module {
500-
// inline module, just recursive
500+
// inline module, just recurse
501501
raw::ModuleData::Definition { name, items, ast_id } => {
502502
let module_id =
503503
self.push_child_module(name.clone(), ast_id.with_file_id(self.file_id), None);
@@ -509,7 +509,7 @@ where
509509
}
510510
.collect(&*items);
511511
}
512-
// out of line module, resolve, parse and recursive
512+
// out of line module, resolve, parse and recurse
513513
raw::ModuleData::Declaration { name, ast_id, attr_path } => {
514514
let ast_id = ast_id.with_file_id(self.file_id);
515515
let is_root = self.def_collector.def_map.modules[self.module_id].parent.is_none();

0 commit comments

Comments
 (0)