Skip to content

Commit d7e1d5f

Browse files
committed
Make caveat more precise
1 parent 159f48c commit d7e1d5f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/librustc_mir_build/hair/pattern/_match.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@
6565
///
6666
/// Caveat: this constructors/fields distinction doesn't quite cover every Rust value. For example
6767
/// a value of type `Rc<u64>` doesn't fit this idea very well, nor do various other things.
68-
/// However, this idea covers everything that can be pattern-matched, and this is all we need for
69-
/// exhaustiveness checking.
68+
/// However, this idea covers most of the cases that are relevant to exhaustiveness checking.
7069
///
7170
///
7271
/// # Algorithm

0 commit comments

Comments
 (0)