about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2016-01-08 13:02:31 -0500
committerSteve Klabnik <steve@steveklabnik.com>2016-01-08 13:02:31 -0500
commit926eb83e783e26087f53a6d98db4f0560840e705 (patch)
treef505a6101295c1c394d978d1ef572600c3e0dd93 /src/libcore
parent2908385fc73967dd76b63eaf1caf0e3b11d4a06d (diff)
parent05874de41219d5bbf68560771173f3228dc11a59 (diff)
downloadrust-926eb83e783e26087f53a6d98db4f0560840e705.tar.gz
rust-926eb83e783e26087f53a6d98db4f0560840e705.zip
Rollup merge of #30769 - steveklabnik:gh30069, r=apasel422
Fixes #30069
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/marker.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libcore/marker.rs b/src/libcore/marker.rs
index 65ddae51b98..621dce3efc8 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<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