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/synthetic_auto/complex.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/synthetic_auto/complex.rs')
| -rw-r--r-- | src/test/rustdoc/synthetic_auto/complex.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc/synthetic_auto/complex.rs b/src/test/rustdoc/synthetic_auto/complex.rs index d2533a2dd39..609cefc7115 100644 --- a/src/test/rustdoc/synthetic_auto/complex.rs +++ b/src/test/rustdoc/synthetic_auto/complex.rs @@ -20,7 +20,7 @@ mod foo { } // @has complex/struct.NotOuter.html -// @has - '//*[@id="synthetic-implementations-list"]/*[@class="impl"]//*/code' "impl<'a, T, K: \ +// @has - '//*[@id="synthetic-implementations-list"]/*[@class="impl"]//code' "impl<'a, T, K: \ // ?Sized> Send for NotOuter<'a, T, K> where K: for<'b> Fn((&'b bool, &'a u8)) \ // -> &'b i8, T: MyTrait<'a>, <T as MyTrait<'a>>::MyItem: Copy, 'a: 'static" |
