aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/diagnostics/match_check
diff options
context:
space:
mode:
Diffstat (limited to 'crates/hir_ty/src/diagnostics/match_check')
-rw-r--r--crates/hir_ty/src/diagnostics/match_check/pat_util.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/hir_ty/src/diagnostics/match_check/pat_util.rs b/crates/hir_ty/src/diagnostics/match_check/pat_util.rs
index eb0b07a52..b89b4f2bf 100644
--- a/crates/hir_ty/src/diagnostics/match_check/pat_util.rs
+++ b/crates/hir_ty/src/diagnostics/match_check/pat_util.rs
@@ -1,3 +1,7 @@
1//! Pattern untilities.
2//!
3//! Originates from `rustc_hir::pat_util`
4
1use std::iter::{Enumerate, ExactSizeIterator}; 5use std::iter::{Enumerate, ExactSizeIterator};
2 6
3pub(crate) struct EnumerateAndAdjust<I> { 7pub(crate) struct EnumerateAndAdjust<I> {