We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03f4950 commit 05874deCopy full SHA for 05874de
src/libcore/marker.rs
@@ -295,6 +295,10 @@ macro_rules! impls{
295
/// even though it does not. This allows you to inform the compiler about certain safety properties
296
/// of your code.
297
///
298
+/// For a more in-depth explanation of how to use `PhantomData<T>`, please see [the Nomicon].
299
+///
300
+/// [the Nomicon]: ../../nomicon/phantom-data.html
301
302
/// # A ghastly note 👻👻👻
303
304
/// Though they both have scary names, `PhantomData<T>` and 'phantom types' are related, but not
0 commit comments