File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
src/test/rustdoc/inline_cross Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,10 @@ use std::ops::Deref;
22
33pub fn func < ' a > ( _x : impl Clone + Into < Vec < u8 > > + ' a ) { }
44
5- pub fn func2 < T > ( _x : impl Deref < Target = Option < T > > + Iterator < Item = T > , _y : impl Iterator < Item = u8 > ) { }
5+ pub fn func2 < T > (
6+ _x : impl Deref < Target = Option < T > > + Iterator < Item = T > ,
7+ _y : impl Iterator < Item = u8 > ,
8+ ) { }
69
710pub fn func3 ( _x : impl Iterator < Item = impl Iterator < Item = u8 > > + Clone ) { }
811
Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ pub use impl_trait_aux::func;
1515pub use impl_trait_aux:: func2;
1616
1717// @has impl_trait/fn.func3.html
18- // @has - '//pre[@class="rust fn"]' "func3(_x: impl Clone + Iterator<Item = impl Iterator<Item = u8>>)"
18+ // @has - '//pre[@class="rust fn"]' "func3("
19+ // @has - '//pre[@class="rust fn"]' "_x: impl Clone + Iterator<Item = impl Iterator<Item = u8>>)"
1920// @!has - '//pre[@class="rust fn"]' 'where'
2021pub use impl_trait_aux:: func3;
2122
You can’t perform that action at this time.
0 commit comments