diff options
author | Dawer <[email protected]> | 2021-05-16 14:11:45 +0100 |
---|---|---|
committer | Dawer <[email protected]> | 2021-05-31 20:49:44 +0100 |
commit | f571b62a13aff662c9d1c17206342479f8529633 (patch) | |
tree | c9ccd460920800042ddb325ee369bbe2d27ffdba /crates | |
parent | 977ba46bb113c9e9ec159f01a72f51a0a7b92c1b (diff) |
minor: doc comment pat_util
Diffstat (limited to 'crates')
-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> { |