Skip to content

Commit 159f48c

Browse files
committed
Don't mention function pointers
See rust-lang#71930 (comment)
1 parent 4c6510b commit 159f48c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustc_mir_build/hair/pattern/_match.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@
6464
/// (`Constructor`, `Fields`) pairs, handling all the special cases correctly.
6565
///
6666
/// Caveat: this constructors/fields distinction doesn't quite cover every Rust value. For example
67-
/// a value of type `Rc<u64>` doesn't fit this idea very well, nor do function pointers and various
68-
/// other things. However, the idea covers everything that can be pattern-matched, and this is all
69-
/// we need for exhaustiveness checking.
67+
/// 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.
7070
///
7171
///
7272
/// # Algorithm

0 commit comments

Comments
 (0)