about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/librustc_mir_build/hair/pattern/_match.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc_mir_build/hair/pattern/_match.rs b/src/librustc_mir_build/hair/pattern/_match.rs
index 16d783fcad2..626e531c807 100644
--- a/src/librustc_mir_build/hair/pattern/_match.rs
+++ b/src/librustc_mir_build/hair/pattern/_match.rs
@@ -65,8 +65,7 @@
 ///
 /// Caveat: this constructors/fields distinction doesn't quite cover every Rust value. For example
 /// a value of type `Rc<u64>` doesn't fit this idea very well, nor do various other things.
-/// However, this idea covers everything that can be pattern-matched, and this is all we need for
-/// exhaustiveness checking.
+/// However, this idea covers most of the cases that are relevant to exhaustiveness checking.
 ///
 ///
 /// # Algorithm