Rollup merge of #30769 - steveklabnik:gh30069, r=apasel422
Fixes #30069
This commit is contained in:
commit
926eb83e78
|
@ -295,6 +295,10 @@ macro_rules! impls{
|
|||
/// even though it does not. This allows you to inform the compiler about certain safety properties
|
||||
/// of your code.
|
||||
///
|
||||
/// For a more in-depth explanation of how to use `PhantomData<T>`, please see [the Nomicon].
|
||||
///
|
||||
/// [the Nomicon]: ../../nomicon/phantom-data.html
|
||||
///
|
||||
/// # A ghastly note 👻👻👻
|
||||
///
|
||||
/// Though they both have scary names, `PhantomData<T>` and 'phantom types' are related, but not
|
||||
|
|
Loading…
Reference in New Issue