Skip to content

Commit

Permalink
Link Nomicon in PhantomData's docs
Browse files Browse the repository at this point in the history
Fixes #30069
  • Loading branch information
steveklabnik committed Jan 7, 2016
1 parent 03f4950 commit 05874de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libcore/marker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 05874de

Please sign in to comment.