Skip to content

Commit 309d863

Browse files
committed
Fix wrong XPath
1 parent ecfeac5 commit 309d863

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// ignore-tidy-linelength
22

3+
#![crate_type="lib"]
4+
35
pub mod internal {
46
// @has 'raw_ident_eliminate_r_hashtag/internal/struct.mod.html'
57
pub struct r#mod;
@@ -8,13 +10,13 @@ pub mod internal {
810
///
911
/// [name]: mod
1012
/// [other name]: crate::internal::mod
11-
// @has 'raw_ident_eliminate_r_hashtag/internal/struct.B.html' '//a[@href="../raw_ident_eliminate_r_hashtag/internal/struct.mod.html"]' 'name'
12-
// @has 'raw_ident_eliminate_r_hashtag/internal/struct.B.html' '//a[@href="../raw_ident_eliminate_r_hashtag/internal/struct.mod.html"]' 'other name'
13+
// @has 'raw_ident_eliminate_r_hashtag/internal/struct.B.html' '//*a[@href="../../raw_ident_eliminate_r_hashtag/internal/struct.mod.html"]' 'name'
14+
// @has 'raw_ident_eliminate_r_hashtag/internal/struct.B.html' '//*a[@href="../../raw_ident_eliminate_r_hashtag/internal/struct.mod.html"]' 'other name'
1315
pub struct B;
1416
}
1517

1618
/// See [name].
1719
///
1820
/// [name]: internal::mod
19-
// @has 'raw_ident_eliminate_r_hashtag/struct.A.html' '//a[@href="../raw_ident_eliminate_r_hashtag/internal/struct.mod.html"]' 'name'
20-
struct A;
21+
// @has 'raw_ident_eliminate_r_hashtag/struct.A.html' '//*a[@href="../raw_ident_eliminate_r_hashtag/internal/struct.mod.html"]' 'name'
22+
pub struct A;

0 commit comments

Comments
 (0)