File tree 2 files changed +6
-2
lines changed
src/test/rustdoc/inline_cross
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;
2
2
3
3
pub fn func < ' a > ( _x : impl Clone + Into < Vec < u8 > > + ' a ) { }
4
4
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
+ ) { }
6
9
7
10
pub fn func3 ( _x : impl Iterator < Item = impl Iterator < Item = u8 > > + Clone ) { }
8
11
Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ pub use impl_trait_aux::func;
15
15
pub use impl_trait_aux:: func2;
16
16
17
17
// @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>>)"
19
20
// @!has - '//pre[@class="rust fn"]' 'where'
20
21
pub use impl_trait_aux:: func3;
21
22
You can’t perform that action at this time.
0 commit comments