diff options
| -rw-r--r-- | compiler/rustc_typeck/src/check/gather_locals.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_typeck/src/check/gather_locals.rs b/compiler/rustc_typeck/src/check/gather_locals.rs index f1bbe8b6d6b..0f670bac8fb 100644 --- a/compiler/rustc_typeck/src/check/gather_locals.rs +++ b/compiler/rustc_typeck/src/check/gather_locals.rs @@ -11,9 +11,9 @@ use std::mem; pub(super) struct GatherLocalsVisitor<'a, 'tcx> { fcx: &'a FnCtxt<'a, 'tcx>, parent_id: hir::HirId, - // params are special cases of pats, but we want to handle them as - // *distinct* cases. so track when we are hitting a pat *within* an fn - // param. + // parameters are special cases of patterns, but we want to handle them as + // *distinct* cases. so track when we are hitting a pattern *within* an fn + // parameter. outermost_fn_param_pat: bool, } |
