diff options
| author | bors <bors@rust-lang.org> | 2021-06-02 23:11:41 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-06-02 23:11:41 +0000 |
| commit | da865095cf378fbfd07145c25fe5837ea091efeb (patch) | |
| tree | 2c0a9ac6fa9c261f83ec9ef4333a29d33c5e9757 /src/test/rustdoc/negative-impl.rs | |
| parent | dbe459dedd33470f2cb28101157de316caaffa66 (diff) | |
| parent | 0daf8ac41f438ba338051e18a56ef8ae64951748 (diff) | |
Auto merge of #84703 - GuillaumeGomez:cleanup-dom, r=jsha
Clean up dom The commits come from #84480. They were errors reported by the `tidy` script that we will use to ensure that the HTML generated by rustdoc is valid. I checked carefully that there were no difference so in principle it should be exactly the same rendering but a double-check would be very appreciated in case I missed something. Extra note: `<h4>` and some `<h3>` tags were replaced by `<div>` because they're not supposed to contain tags as they currently do. r? `@jsha`
Diffstat (limited to 'src/test/rustdoc/negative-impl.rs')
| -rw-r--r-- | src/test/rustdoc/negative-impl.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test/rustdoc/negative-impl.rs b/src/test/rustdoc/negative-impl.rs index d76aac6906c..ee65a7d5f39 100644 --- a/src/test/rustdoc/negative-impl.rs +++ b/src/test/rustdoc/negative-impl.rs @@ -5,8 +5,10 @@ pub struct Alpha; // @matches negative_impl/struct.Bravo.html '//pre' "pub struct Bravo<B>" pub struct Bravo<B>(B); -// @matches negative_impl/struct.Alpha.html '//*[@class="impl"]//code' "impl !Send for Alpha" +// @matches negative_impl/struct.Alpha.html '//*[@class="impl has-srclink"]//code' \ +// "impl !Send for Alpha" impl !Send for Alpha {} -// @matches negative_impl/struct.Bravo.html '//*[@class="impl"]//code' "impl<B> !Send for Bravo<B>" +// @matches negative_impl/struct.Bravo.html '//*[@class="impl has-srclink"]//code' "\ +// impl<B> !Send for Bravo<B>" impl<B> !Send for Bravo<B> {} |
