Document that Option<extern "abi" fn>
discriminant elision applies for any ABI
The current phrasing was not very clear on that aspect.
This commit is contained in:
parent
a8adf7685a
commit
156734dda0
@ -80,11 +80,13 @@
|
||||
//! * [`Box<U>`]
|
||||
//! * `&U`
|
||||
//! * `&mut U`
|
||||
//! * `fn`, `extern "C" fn`
|
||||
//! * `fn`, `extern "C" fn`[^extern_fn]
|
||||
//! * [`num::NonZero*`]
|
||||
//! * [`ptr::NonNull<U>`]
|
||||
//! * `#[repr(transparent)]` struct around one of the types in this list.
|
||||
//!
|
||||
//! [^extern_fn]: this remains true for any other ABI: `extern "abi" fn` (_e.g._, `extern "system" fn`)
|
||||
//!
|
||||
//! [`Box<U>`]: ../../std/boxed/struct.Box.html
|
||||
//! [`num::NonZero*`]: crate::num
|
||||
//! [`ptr::NonNull<U>`]: crate::ptr::NonNull
|
||||
|
Loading…
x
Reference in New Issue
Block a user