From ab91050d49e538568f0be1f9f5b8fe90e20e2ac0 Mon Sep 17 00:00:00 2001 From: Edwin Cheng Date: Fri, 3 May 2019 00:01:48 +0800 Subject: Fix typo --- crates/ra_mbe/src/mbe_expander.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/ra_mbe') diff --git a/crates/ra_mbe/src/mbe_expander.rs b/crates/ra_mbe/src/mbe_expander.rs index 087a0cd63..361b1e404 100644 --- a/crates/ra_mbe/src/mbe_expander.rs +++ b/crates/ra_mbe/src/mbe_expander.rs @@ -363,7 +363,7 @@ fn expand_tt( let mut has_seps = 0; let mut counter = 0; - // We store the old var expaned value, and restore it later + // We store the old var expanded value, and restore it later // It is because before this `$repeat`, // it is possible some variables already expanad in the same subtree // @@ -373,12 +373,12 @@ fn expand_tt( ctx.var_expanded = false; while let Ok(t) = expand_subtree(&repeat.subtree, ctx) { - // if no var expaned in the child, we count it as a fail + // if no var expanded in the child, we count it as a fail if !ctx.var_expanded { break; } - // Reset `ctx.var_expaneded` to see if there is other expaned variable + // Reset `ctx.var_expandeded` to see if there is other expanded variable // in the next matching some_var_expanded = true; ctx.var_expanded = false; -- cgit v1.2.3