Link Nomicon in PhantomData's docs

Fixes #30069
This commit is contained in:
Steve Klabnik 2016-01-07 14:18:15 -05:00
parent 03f4950239
commit 05874de412

View File

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