diff options
| author | bors <bors@rust-lang.org> | 2021-04-17 20:41:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-04-17 20:41:37 +0000 |
| commit | 392ba2ba1a7d6c542d2459fb8133bebf62a4a423 (patch) | |
| tree | 4b21d63dfc13864287cf392c901a998ecb33a386 /src/test/rustdoc/intra-doc/trait-impl.rs | |
| parent | bd9949b8e6577631f8e2757a4a007098e6a88b7d (diff) | |
| parent | a3277e2a0a2ccd165f5ea7dd485828051d31e030 (diff) | |
| download | rust-392ba2ba1a7d6c542d2459fb8133bebf62a4a423.tar.gz rust-392ba2ba1a7d6c542d2459fb8133bebf62a4a423.zip | |
Auto merge of #84279 - Dylan-DPC:rollup-k7otd7e, r=Dylan-DPC
Rollup of 4 pull requests Successful merges: - #83237 (rustdoc: use more precise relative URLs) - #84150 (rustdoc: move some search code into search.js) - #84203 (rustdoc: Give a more accurate span for anchor failures) - #84257 (Add documentation to help people find `Ipv4Addr::UNSPECIFIED`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'src/test/rustdoc/intra-doc/trait-impl.rs')
| -rw-r--r-- | src/test/rustdoc/intra-doc/trait-impl.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/rustdoc/intra-doc/trait-impl.rs b/src/test/rustdoc/intra-doc/trait-impl.rs index ef1987a829a..cf60dc1dbd5 100644 --- a/src/test/rustdoc/intra-doc/trait-impl.rs +++ b/src/test/rustdoc/intra-doc/trait-impl.rs @@ -5,21 +5,21 @@ pub struct MyStruct; impl MyTrait for MyStruct { -// @has foo/struct.MyStruct.html '//a/@href' '../foo/struct.MyStruct.html#associatedtype.AssoType' +// @has foo/struct.MyStruct.html '//a/@href' 'struct.MyStruct.html#associatedtype.AssoType' /// [`AssoType`] /// /// [`AssoType`]: MyStruct::AssoType type AssoType = u32; -// @has foo/struct.MyStruct.html '//a/@href' '../foo/struct.MyStruct.html#associatedconstant.ASSO_CONST' +// @has foo/struct.MyStruct.html '//a/@href' 'struct.MyStruct.html#associatedconstant.ASSO_CONST' /// [`ASSO_CONST`] /// /// [`ASSO_CONST`]: MyStruct::ASSO_CONST const ASSO_CONST: i32 = 10; -// @has foo/struct.MyStruct.html '//a/@href' '../foo/struct.MyStruct.html#method.trait_fn' +// @has foo/struct.MyStruct.html '//a/@href' 'struct.MyStruct.html#method.trait_fn' /// [`trait_fn`] /// |
