diff options
| author | Michael Howell <michael@notriddle.com> | 2023-01-26 13:32:33 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-01-27 09:04:39 -0700 |
| commit | 7aa4a205a83bfbdba1131ee8a6463d5c029bb089 (patch) | |
| tree | f8ee5d019f52ede9ef219a70803364acd906dea9 /tests/rustdoc/doc-notable_trait.rs | |
| parent | c62665e09c11eb1c9d8ea02df5b723364a0b8ba4 (diff) | |
| download | rust-7aa4a205a83bfbdba1131ee8a6463d5c029bb089.tar.gz rust-7aa4a205a83bfbdba1131ee8a6463d5c029bb089.zip | |
rustdoc: merge doctest tooltip with notable traits tooltip
Fixes https://discord.com/channels/442252698964721669/443150878111694848/1066420140167680000 Fixes #91100
Diffstat (limited to 'tests/rustdoc/doc-notable_trait.rs')
| -rw-r--r-- | tests/rustdoc/doc-notable_trait.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rustdoc/doc-notable_trait.rs b/tests/rustdoc/doc-notable_trait.rs index 279faf55401..d8941769fa6 100644 --- a/tests/rustdoc/doc-notable_trait.rs +++ b/tests/rustdoc/doc-notable_trait.rs @@ -9,7 +9,7 @@ impl<T: SomeTrait> SomeTrait for Wrapper<T> {} #[doc(notable_trait)] pub trait SomeTrait { // @has doc_notable_trait/trait.SomeTrait.html - // @has - '//a[@class="notable-traits"]/@data-ty' 'Wrapper<Self>' + // @has - '//a[@class="tooltip"]/@data-notable-ty' 'Wrapper<Self>' // @snapshot wrap-me - '//script[@id="notable-traits-data"]' fn wrap_me(self) -> Wrapper<Self> where Self: Sized { Wrapper { @@ -23,7 +23,7 @@ impl SomeTrait for SomeStruct {} impl SomeStruct { // @has doc_notable_trait/struct.SomeStruct.html - // @has - '//a[@class="notable-traits"]/@data-ty' 'SomeStruct' + // @has - '//a[@class="tooltip"]/@data-notable-ty' 'SomeStruct' // @snapshot some-struct-new - '//script[@id="notable-traits-data"]' pub fn new() -> SomeStruct { SomeStruct @@ -31,7 +31,7 @@ impl SomeStruct { } // @has doc_notable_trait/fn.bare_fn.html -// @has - '//a[@class="notable-traits"]/@data-ty' 'SomeStruct' +// @has - '//a[@class="tooltip"]/@data-notable-ty' 'SomeStruct' // @snapshot bare-fn - '//script[@id="notable-traits-data"]' pub fn bare_fn() -> SomeStruct { SomeStruct |
