about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-06-11 09:37:40 -0700
committerMichael Howell <michael@notriddle.com>2022-06-11 09:54:23 -0700
commitc1487550ca75c2bcd4cb4da038ef1d18d86a857a (patch)
tree91709b5942e2e7f2818be4a27c43850e02c518af /library/std/src
parent3fd16648fe7c7373965d9a14bc8c832589518361 (diff)
downloadrust-c1487550ca75c2bcd4cb4da038ef1d18d86a857a.tar.gz
rust-c1487550ca75c2bcd4cb4da038ef1d18d86a857a.zip
Add test case for #trait-implementations-1 link
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/primitive_docs.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/std/src/primitive_docs.rs b/library/std/src/primitive_docs.rs
index be3953692fa..c423acd7047 100644
--- a/library/std/src/primitive_docs.rs
+++ b/library/std/src/primitive_docs.rs
@@ -914,6 +914,8 @@ mod prim_str {}
 ///
 /// For more about tuples, see [the book](../book/ch03-02-data-types.html#the-tuple-type).
 ///
+// Hardcoded anchor in src/librustdoc/html/format.rs
+// linked to as `#trait-implementations-1`
 /// # Trait implementations
 ///
 /// In this documentation the shorthand `(T, ...)` is used to represent tuples of varying length.