diff options
| author | Michael Howell <michael@notriddle.com> | 2023-01-30 11:05:12 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-01-30 11:06:18 -0700 |
| commit | 7080f80e8b64eb5f2037de50991edb9e82aee3a5 (patch) | |
| tree | 26c2d27d0b59e40d240a2a631e5e51e98a5ab8d8 /tests/rustdoc/const-generics/const-impl.rs | |
| parent | 006ca9b14da1e0145844598b3d6a554c042c702a (diff) | |
| download | rust-7080f80e8b64eb5f2037de50991edb9e82aee3a5.tar.gz rust-7080f80e8b64eb5f2037de50991edb9e82aee3a5.zip | |
rustdoc: remove unnecessary wrapper div.item-decl from HTML
Diffstat (limited to 'tests/rustdoc/const-generics/const-impl.rs')
| -rw-r--r-- | tests/rustdoc/const-generics/const-impl.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/const-generics/const-impl.rs b/tests/rustdoc/const-generics/const-impl.rs index 726fb8f0c34..91866b7d890 100644 --- a/tests/rustdoc/const-generics/const-impl.rs +++ b/tests/rustdoc/const-generics/const-impl.rs @@ -8,7 +8,7 @@ pub enum Order { Unsorted, } -// @has foo/struct.VSet.html '//div[@class="item-decl"]/pre[@class="rust"]' 'pub struct VSet<T, const ORDER: Order>' +// @has foo/struct.VSet.html '//pre[@class="rust item-decl"]' 'pub struct VSet<T, const ORDER: Order>' // @has foo/struct.VSet.html '//*[@id="impl-Send-for-VSet%3CT%2C%20ORDER%3E"]/h3[@class="code-header"]' 'impl<T, const ORDER: Order> Send for VSet<T, ORDER>' // @has foo/struct.VSet.html '//*[@id="impl-Sync-for-VSet%3CT%2C%20ORDER%3E"]/h3[@class="code-header"]' 'impl<T, const ORDER: Order> Sync for VSet<T, ORDER>' pub struct VSet<T, const ORDER: Order> { |
