Skip to content

Commit 497ee0e

Browse files
committed
param -> parameter, pat -> pattern
1 parent bdd1b85 commit 497ee0e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/rustc_typeck/src/check/gather_locals.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ use std::mem;
1111
pub(super) struct GatherLocalsVisitor<'a, 'tcx> {
1212
fcx: &'a FnCtxt<'a, 'tcx>,
1313
parent_id: hir::HirId,
14-
// params are special cases of pats, but we want to handle them as
15-
// *distinct* cases. so track when we are hitting a pat *within* an fn
16-
// param.
14+
// parameters are special cases of patterns, but we want to handle them as
15+
// *distinct* cases. so track when we are hitting a pattern *within* an fn
16+
// parameter.
1717
outermost_fn_param_pat: bool,
1818
}
1919

0 commit comments

Comments
 (0)