diff options
| author | John Heitmann <jheitmann@gmail.com> | 2018-12-26 21:23:05 -0800 |
|---|---|---|
| committer | John Heitmann <jheitmann@gmail.com> | 2018-12-27 21:22:27 -0800 |
| commit | 34bd2b845b3acd84c5a9bddae3ff8081c19ec5e9 (patch) | |
| tree | 940845f1de40cbbc20fa23a23f4e8cef9243bf74 /src/test/rustdoc/issue-55321.rs | |
| parent | f8caa321c7c7214a6c5415e4b3694e65b4ff73a7 (diff) | |
| download | rust-34bd2b845b3acd84c5a9bddae3ff8081c19ec5e9.tar.gz rust-34bd2b845b3acd84c5a9bddae3ff8081c19ec5e9.zip | |
Simplify foreign type rendering.
Simplified foreign type rendering by switching from tables to flexbox. Also, removed some seemingly extraneous elements like “ghost” spans. Reduces element count on std::iter::Iterator by 30%.
Diffstat (limited to 'src/test/rustdoc/issue-55321.rs')
| -rw-r--r-- | src/test/rustdoc/issue-55321.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/rustdoc/issue-55321.rs b/src/test/rustdoc/issue-55321.rs index 5c34a4d34ab..257cb32c65c 100644 --- a/src/test/rustdoc/issue-55321.rs +++ b/src/test/rustdoc/issue-55321.rs @@ -1,16 +1,16 @@ #![feature(optin_builtin_traits)] // @has issue_55321/struct.A.html -// @has - '//*[@id="implementations-list"]/*[@class="impl"]//*/code' "impl !Send for A" -// @has - '//*[@id="implementations-list"]/*[@class="impl"]//*/code' "impl !Sync for A" +// @has - '//*[@id="implementations-list"]/*[@class="impl"]//code' "impl !Send for A" +// @has - '//*[@id="implementations-list"]/*[@class="impl"]//code' "impl !Sync for A" pub struct A(); impl !Send for A {} impl !Sync for A {} // @has issue_55321/struct.B.html -// @has - '//*[@id="synthetic-implementations-list"]/*[@class="impl"]//*/code' "impl<T> !Send for \ +// @has - '//*[@id="synthetic-implementations-list"]/*[@class="impl"]//code' "impl<T> !Send for \ // B<T>" -// @has - '//*[@id="synthetic-implementations-list"]/*[@class="impl"]//*/code' "impl<T> !Sync for \ +// @has - '//*[@id="synthetic-implementations-list"]/*[@class="impl"]//code' "impl<T> !Sync for \ // B<T>" pub struct B<T: ?Sized>(A, Box<T>); |
