about summary refs log tree commit diff
path: root/tests/rustdoc/intra-doc/trait-impl.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2024-06-21 14:03:08 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2024-06-24 11:08:41 +0200
commit1b67035579fc6157ca2f3fb8b7e6071ff6d888bc (patch)
treee53cb08e1dfa396dd2abd4ffbb91aa6826a463d9 /tests/rustdoc/intra-doc/trait-impl.rs
parentd3ec92e16e7e78c273c0f996cad5122ce5a6cdd6 (diff)
downloadrust-1b67035579fc6157ca2f3fb8b7e6071ff6d888bc.tar.gz
rust-1b67035579fc6157ca2f3fb8b7e6071ff6d888bc.zip
Update `tests/rustdoc` to new test syntax
Diffstat (limited to 'tests/rustdoc/intra-doc/trait-impl.rs')
-rw-r--r--tests/rustdoc/intra-doc/trait-impl.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rustdoc/intra-doc/trait-impl.rs b/tests/rustdoc/intra-doc/trait-impl.rs
index cf60dc1dbd5..925a63187f4 100644
--- a/tests/rustdoc/intra-doc/trait-impl.rs
+++ b/tests/rustdoc/intra-doc/trait-impl.rs
@@ -5,21 +5,21 @@ pub struct MyStruct;
 
 impl MyTrait for MyStruct {
 
-// @has foo/struct.MyStruct.html '//a/@href' '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' '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' 'struct.MyStruct.html#method.trait_fn'
+//@ has foo/struct.MyStruct.html '//a/@href' 'struct.MyStruct.html#method.trait_fn'
 
     /// [`trait_fn`]
     ///