about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLukas Markeffsky <@>2022-11-26 16:56:29 +0100
committerLukas Markeffsky <@>2022-11-26 16:56:29 +0100
commit946d51e8ba2501aa24256317d8798e475dc862b5 (patch)
treec7aa2a90ea77e10b146b4504845e98f821c6cc5a
parente06b61c8f9994eba138b42e50e59c316134ffddc (diff)
downloadrust-946d51e8ba2501aa24256317d8798e475dc862b5.tar.gz
rust-946d51e8ba2501aa24256317d8798e475dc862b5.zip
fix broken link fragment
-rw-r--r--library/core/src/mem/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/mem/mod.rs b/library/core/src/mem/mod.rs
index 723988b33ab..383bdc7b6e2 100644
--- a/library/core/src/mem/mod.rs
+++ b/library/core/src/mem/mod.rs
@@ -1116,7 +1116,7 @@ impl<T> fmt::Debug for Discriminant<T> {
 /// of some variant will not change between compilations with the same compiler. See the [Reference]
 /// for more information.
 ///
-/// [Reference]: ../../reference/items/enumerations.html#discriminants
+/// [Reference]: ../../reference/items/enumerations.html#custom-discriminant-values-for-fieldless-enumerations
 ///
 /// # Examples
 ///