diff options
author | Aleksey Kladov <[email protected]> | 2019-12-20 15:19:28 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-12-20 15:52:02 +0000 |
commit | 4f9e3f3632f3c03d44a23daf0d9ce4966816af86 (patch) | |
tree | 6cd908da2b3a48c395894b3505fdfda08d1be2b7 | |
parent | 1b8ce5b37b597679796b3ebc57afd55af49449b0 (diff) |
Fix typos
-rw-r--r-- | crates/ra_hir_def/src/nameres/collector.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_hir_def/src/nameres/collector.rs b/crates/ra_hir_def/src/nameres/collector.rs index c4f6bcd95..17c7e691e 100644 --- a/crates/ra_hir_def/src/nameres/collector.rs +++ b/crates/ra_hir_def/src/nameres/collector.rs | |||
@@ -226,10 +226,10 @@ where | |||
226 | 226 | ||
227 | /// Define a legacy textual scoped macro in module | 227 | /// Define a legacy textual scoped macro in module |
228 | /// | 228 | /// |
229 | /// We use a map `legacy_macros` to store all legacy textual scoped macros visable per module. | 229 | /// We use a map `legacy_macros` to store all legacy textual scoped macros visible per module. |
230 | /// It will clone all macros from parent legacy scope, whose definition is prior to | 230 | /// It will clone all macros from parent legacy scope, whose definition is prior to |
231 | /// the definition of current module. | 231 | /// the definition of current module. |
232 | /// And also, `macro_use` on a module will import all legacy macros visable inside to | 232 | /// And also, `macro_use` on a module will import all legacy macros visible inside to |
233 | /// current legacy scope, with possible shadowing. | 233 | /// current legacy scope, with possible shadowing. |
234 | fn define_legacy_macro(&mut self, module_id: LocalModuleId, name: Name, macro_: MacroDefId) { | 234 | fn define_legacy_macro(&mut self, module_id: LocalModuleId, name: Name, macro_: MacroDefId) { |
235 | // Always shadowing | 235 | // Always shadowing |