aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDawer <[email protected]>2021-05-16 14:11:45 +0100
committerDawer <[email protected]>2021-05-31 20:49:44 +0100
commitf571b62a13aff662c9d1c17206342479f8529633 (patch)
treec9ccd460920800042ddb325ee369bbe2d27ffdba
parent977ba46bb113c9e9ec159f01a72f51a0a7b92c1b (diff)
minor: doc comment pat_util
-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> {