Add test case for #trait-implementations-1 link

This commit is contained in:
Michael Howell
2022-06-11 09:37:40 -07:00
parent 3fd16648fe
commit c1487550ca
4 changed files with 14 additions and 0 deletions

View File

@@ -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.