Skip to content

Commit

Permalink
Don't mention function pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadrieril committed May 18, 2020
1 parent 4c6510b commit 159f48c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/librustc_mir_build/hair/pattern/_match.rs
Expand Up @@ -64,9 +64,9 @@
/// (`Constructor`, `Fields`) pairs, handling all the special cases correctly.
///
/// 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 function pointers and various
/// other things. However, the idea covers everything that can be pattern-matched, and this is all
/// we need for exhaustiveness checking.
/// 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.
///
///
/// # Algorithm
Expand Down

0 comments on commit 159f48c

Please sign in to comment.