summary refs log tree commit diff
path: root/src/test/rustdoc/synthetic_auto/nested.rs
diff options
context:
space:
mode:
authorJohn Heitmann <jheitmann@gmail.com>2018-12-26 21:23:05 -0800
committerJohn Heitmann <jheitmann@gmail.com>2018-12-27 21:22:27 -0800
commit34bd2b845b3acd84c5a9bddae3ff8081c19ec5e9 (patch)
tree940845f1de40cbbc20fa23a23f4e8cef9243bf74 /src/test/rustdoc/synthetic_auto/nested.rs
parentf8caa321c7c7214a6c5415e4b3694e65b4ff73a7 (diff)
downloadrust-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/synthetic_auto/nested.rs')
-rw-r--r--src/test/rustdoc/synthetic_auto/nested.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/rustdoc/synthetic_auto/nested.rs b/src/test/rustdoc/synthetic_auto/nested.rs
index 75d2ff2af13..e710ce1c2ed 100644
--- a/src/test/rustdoc/synthetic_auto/nested.rs
+++ b/src/test/rustdoc/synthetic_auto/nested.rs
@@ -9,10 +9,10 @@ where
 }
 
 // @has nested/struct.Foo.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 \
 // Foo<T> where T: Copy'
 //
-// @has - '//*[@id="synthetic-implementations-list"]/*[@class="impl"]//*/code' \
+// @has - '//*[@id="synthetic-implementations-list"]/*[@class="impl"]//code' \
 // 'impl<T> Sync for Foo<T> where T: Sync'
 pub struct Foo<T> {
     inner_field: Inner<T>,