]> git.lizzy.rs Git - rust.git/commitdiff
Fix typos
authorAleksey Kladov <aleksey.kladov@gmail.com>
Fri, 20 Dec 2019 15:19:28 +0000 (16:19 +0100)
committerAleksey Kladov <aleksey.kladov@gmail.com>
Fri, 20 Dec 2019 15:52:02 +0000 (16:52 +0100)
crates/ra_hir_def/src/nameres/collector.rs

index c4f6bcd95eb484cdbc5dbf224d1a9d7e397cf4d0..17c7e691e28866832bd598cbec228e85a7042d1b 100644 (file)
@@ -226,10 +226,10 @@ fn define_macro(
 
     /// Define a legacy textual scoped macro in module
     ///
-    /// We use a map `legacy_macros` to store all legacy textual scoped macros visable per module.
+    /// We use a map `legacy_macros` to store all legacy textual scoped macros visible per module.
     /// It will clone all macros from parent legacy scope, whose definition is prior to
     /// the definition of current module.
-    /// And also, `macro_use` on a module will import all legacy macros visable inside to
+    /// And also, `macro_use` on a module will import all legacy macros visible inside to
     /// current legacy scope, with possible shadowing.
     fn define_legacy_macro(&mut self, module_id: LocalModuleId, name: Name, macro_: MacroDefId) {
         // Always shadowing