diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2016-01-08 13:02:31 -0500 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2016-01-08 13:02:31 -0500 |
| commit | 926eb83e783e26087f53a6d98db4f0560840e705 (patch) | |
| tree | f505a6101295c1c394d978d1ef572600c3e0dd93 /src/libcore | |
| parent | 2908385fc73967dd76b63eaf1caf0e3b11d4a06d (diff) | |
| parent | 05874de41219d5bbf68560771173f3228dc11a59 (diff) | |
| download | rust-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.rs | 4 |
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 |
