Skip to content

Commit 8cf1984

Browse files
committed
Finish rename
1 parent b9c6aa9 commit 8cf1984

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/ra_hir_def/src/body/lower.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ impl ExprCollector<'_> {
809809
ast::Pat::SlicePat(p) => {
810810
let SlicePatComponents { prefix, slice, suffix } = p.components();
811811

812-
// FIXME properly handle `DotDotPat`
812+
// FIXME properly handle `RestPat`
813813
Pat::Slice {
814814
prefix: prefix.into_iter().map(|p| self.collect_pat(p)).collect(),
815815
slice: slice.map(|p| self.collect_pat(p)),
@@ -827,9 +827,9 @@ impl ExprCollector<'_> {
827827
}
828828
}
829829
ast::Pat::RestPat(_) => {
830-
// `DotDotPat` requires special handling and should not be mapped
830+
// `RestPat` requires special handling and should not be mapped
831831
// to a Pat. Here we are using `Pat::Missing` as a fallback for
832-
// when `DotDotPat` is mapped to `Pat`, which can easily happen
832+
// when `RestPat` is mapped to `Pat`, which can easily happen
833833
// when the source code being analyzed has a malformed pattern
834834
// which includes `..` in a place where it isn't valid.
835835

0 commit comments

Comments
 (0)