We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2908385 + 05874de commit 926eb83Copy full SHA for 926eb83
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