diff options
| author | Michael Howell <michael@notriddle.com> | 2022-10-10 11:37:19 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-10-10 11:40:15 -0700 |
| commit | b63b02f8728259c3b67d1f6ca7d1845892b86a9e (patch) | |
| tree | 827b691a7c90dd8f2c4203e266ee86610bf6e9b2 /src/test/rustdoc | |
| parent | 0265a3e93bf1b89d97cae113ed214954d5c35e22 (diff) | |
| download | rust-b63b02f8728259c3b67d1f6ca7d1845892b86a9e.tar.gz rust-b63b02f8728259c3b67d1f6ca7d1845892b86a9e.zip | |
rustdoc: remove unneeded `<div>` wrapper from sidebar DOM
When this was added, the sidebar had a bit more complex style. It can be removed, now.
Diffstat (limited to 'src/test/rustdoc')
| -rw-r--r-- | src/test/rustdoc/strip-enum-variant.no-not-shown.html | 2 | ||||
| -rw-r--r-- | src/test/rustdoc/strip-enum-variant.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/rustdoc/strip-enum-variant.no-not-shown.html b/src/test/rustdoc/strip-enum-variant.no-not-shown.html index c4ee1a99114..782198956a0 100644 --- a/src/test/rustdoc/strip-enum-variant.no-not-shown.html +++ b/src/test/rustdoc/strip-enum-variant.no-not-shown.html @@ -1 +1 @@ -<ul><li><a href="#variant.Shown">Shown</a></li></ul> \ No newline at end of file +<ul class="block"><li><a href="#variant.Shown">Shown</a></li></ul> \ No newline at end of file diff --git a/src/test/rustdoc/strip-enum-variant.rs b/src/test/rustdoc/strip-enum-variant.rs index f82ffdfeda5..8753a7dc613 100644 --- a/src/test/rustdoc/strip-enum-variant.rs +++ b/src/test/rustdoc/strip-enum-variant.rs @@ -3,7 +3,7 @@ // @!has - '//code' 'NotShown' // @has - '//code' '// some variants omitted' // Also check that `NotShown` isn't displayed in the sidebar. -// @snapshot no-not-shown - '//*[@class="sidebar-elems"]/section/*[@class="block"][1]/ul' +// @snapshot no-not-shown - '//*[@class="sidebar-elems"]/section/*[@class="block"][1]' pub enum MyThing { Shown, #[doc(hidden)] |
