Skip to content

Commit 52ab712

Browse files
committed
Add test case for #trait-implementations-1 link
1 parent 5d4bf8d commit 52ab712

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

core/src/primitive_docs.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -914,6 +914,8 @@ mod prim_str {}
914914
///
915915
/// For more about tuples, see [the book](../book/ch03-02-data-types.html#the-tuple-type).
916916
///
917+
// Hardcoded anchor in src/librustdoc/html/format.rs
918+
// linked to as `#trait-implementations-1`
917919
/// # Trait implementations
918920
///
919921
/// In this documentation the shorthand `(T, ...)` is used to represent tuples of varying length.

std/src/primitive_docs.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -914,6 +914,8 @@ mod prim_str {}
914914
///
915915
/// For more about tuples, see [the book](../book/ch03-02-data-types.html#the-tuple-type).
916916
///
917+
// Hardcoded anchor in src/librustdoc/html/format.rs
918+
// linked to as `#trait-implementations-1`
917919
/// # Trait implementations
918920
///
919921
/// In this documentation the shorthand `(T, ...)` is used to represent tuples of varying length.

0 commit comments

Comments
 (0)