Don't mention function pointers

See https://github.com/rust-lang/rust/pull/71930#discussion_r426762889
This commit is contained in:
Nadrieril 2020-05-18 20:14:38 +01:00
parent 4c6510bee5
commit 159f48cdc2

View File

@ -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