about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/macros.rs
diff options
context:
space:
mode:
authorYuri Astrakhan <YuriAstrakhan@gmail.com>2022-03-30 15:14:15 -0400
committerYuri Astrakhan <YuriAstrakhan@gmail.com>2022-03-30 15:14:15 -0400
commit5160f8f843e1dbd43cf341cc8aa5d917d22c98b9 (patch)
tree98f378da3bf249dd192f6b9048a81c86238b6e91 /compiler/rustc_resolve/src/macros.rs
parent3e7514670db841a7f0d7656f3b13b1c8b2c11599 (diff)
downloadrust-5160f8f843e1dbd43cf341cc8aa5d917d22c98b9.tar.gz
rust-5160f8f843e1dbd43cf341cc8aa5d917d22c98b9.zip
Spellchecking compiler comments
This PR cleans up the rest of the spelling mistakes in the compiler comments. This PR does not change any literal or code spelling issues.
Diffstat (limited to 'compiler/rustc_resolve/src/macros.rs')
-rw-r--r--compiler/rustc_resolve/src/macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/macros.rs b/compiler/rustc_resolve/src/macros.rs
index dc94ba49a54..3a90908c0df 100644
--- a/compiler/rustc_resolve/src/macros.rs
+++ b/compiler/rustc_resolve/src/macros.rs
@@ -69,7 +69,7 @@ pub enum MacroRulesScope<'a> {
 /// The reason is that we update scopes with value `MacroRulesScope::Invocation(invoc_id)`
 /// in-place after `invoc_id` gets expanded.
 /// This helps to avoid uncontrollable growth of `macro_rules!` scope chains,
-/// which usually grow lineraly with the number of macro invocations
+/// which usually grow linearly with the number of macro invocations
 /// in a module (including derives) and hurt performance.
 pub(crate) type MacroRulesScopeRef<'a> = Interned<'a, Cell<MacroRulesScope<'a>>>;