Skip to content

Commit 926eb83

Browse files
committed
Rollup merge of #30769 - steveklabnik:gh30069, r=apasel422
Fixes #30069
2 parents 2908385 + 05874de commit 926eb83

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/libcore/marker.rs

+4
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,10 @@ macro_rules! impls{
295295
/// even though it does not. This allows you to inform the compiler about certain safety properties
296296
/// of your code.
297297
///
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+
///
298302
/// # A ghastly note 👻👻👻
299303
///
300304
/// Though they both have scary names, `PhantomData<T>` and 'phantom types' are related, but not

0 commit comments

Comments
 (0)