Skip to content

Commit bcd6fe3

Browse files
committed
Update primitive test to match the new behavior
1 parent 6f4681b commit bcd6fe3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
// ignore-tidy-linelength
22
#![deny(broken_intra_doc_links)]
33

4-
pub mod char {}
4+
pub mod char {
5+
/// [char]
6+
// @has intra_link_prim_precedence/char/struct.Inner.html '//a/@href' 'https://doc.rust-lang.org/nightly/std/primitive.char.html'
7+
pub struct Inner;
8+
}
59

6-
/// See also [type@char]
10+
/// See [prim@char]
711
// @has intra_link_prim_precedence/struct.MyString.html '//a/@href' 'https://doc.rust-lang.org/nightly/std/primitive.char.html'
812
pub struct MyString;
913

10-
/// See also [char]
11-
// @has intra_link_prim_precedence/struct.MyString2.html '//a/@href' 'https://doc.rust-lang.org/nightly/std/primitive.char.html'
12-
pub struct MyString2;
13-
1414
/// See also [crate::char] and [mod@char]
15-
// @has intra_link_prim_precedence/struct.MyString3.html '//*[@href="../intra_link_prim_precedence/char/index.html"]' 'crate::char'
15+
// @has intra_link_prim_precedence/struct.MyString2.html '//*[@href="../intra_link_prim_precedence/char/index.html"]' 'crate::char'
1616
// @has - '//*[@href="../intra_link_prim_precedence/char/index.html"]' 'mod@char'
17-
pub struct MyString3;
17+
pub struct MyString2;

0 commit comments

Comments
 (0)