From 05874de41219d5bbf68560771173f3228dc11a59 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Thu, 7 Jan 2016 14:18:15 -0500 Subject: [PATCH] Link Nomicon in PhantomData's docs Fixes #30069 --- src/libcore/marker.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libcore/marker.rs b/src/libcore/marker.rs index 65ddae51b98f6..621dce3efc86b 100644 --- a/src/libcore/marker.rs +++ b/src/libcore/marker.rs @@ -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`, please see [the Nomicon]. +/// +/// [the Nomicon]: ../../nomicon/phantom-data.html +/// /// # A ghastly note 👻👻👻 /// /// Though they both have scary names, `PhantomData` and 'phantom types' are related, but not