Skip to content

Commit 946777d

Browse files
committed
Fix tidy
1 parent 65d391d commit 946777d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/test/rustdoc/inline_cross/auxiliary/impl_trait_aux.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ use std::ops::Deref;
22

33
pub 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

710
pub fn func3(_x: impl Iterator<Item = impl Iterator<Item = u8>> + Clone) {}
811

src/test/rustdoc/inline_cross/impl_trait.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ pub use impl_trait_aux::func;
1515
pub 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'
2021
pub use impl_trait_aux::func3;
2122

0 commit comments

Comments
 (0)