diff options
Diffstat (limited to 'crates/hir_ty')
-rw-r--r-- | crates/hir_ty/src/diagnostics/match_check/pat_util.rs | 4 |
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 | |||
1 | use std::iter::{Enumerate, ExactSizeIterator}; | 5 | use std::iter::{Enumerate, ExactSizeIterator}; |
2 | 6 | ||
3 | pub(crate) struct EnumerateAndAdjust<I> { | 7 | pub(crate) struct EnumerateAndAdjust<I> { |