Fix tidy
This commit is contained in:
parent
5f9e26382f
commit
cc6dbb4f23
@ -2,7 +2,10 @@ use std::ops::Deref;
|
||||
|
||||
pub fn func<'a>(_x: impl Clone + Into<Vec<u8>> + 'a) {}
|
||||
|
||||
pub fn func2<T>(_x: impl Deref<Target = Option<T>> + Iterator<Item = T>, _y: impl Iterator<Item = u8>) {}
|
||||
pub fn func2<T>(
|
||||
_x: impl Deref<Target = Option<T>> + Iterator<Item = T>,
|
||||
_y: impl Iterator<Item = u8>,
|
||||
) {}
|
||||
|
||||
pub fn func3(_x: impl Iterator<Item = impl Iterator<Item = u8>> + Clone) {}
|
||||
|
||||
|
@ -15,7 +15,8 @@ pub use impl_trait_aux::func;
|
||||
pub use impl_trait_aux::func2;
|
||||
|
||||
// @has impl_trait/fn.func3.html
|
||||
// @has - '//pre[@class="rust fn"]' "func3(_x: impl Clone + Iterator<Item = impl Iterator<Item = u8>>)"
|
||||
// @has - '//pre[@class="rust fn"]' "func3("
|
||||
// @has - '//pre[@class="rust fn"]' "_x: impl Clone + Iterator<Item = impl Iterator<Item = u8>>)"
|
||||
// @!has - '//pre[@class="rust fn"]' 'where'
|
||||
pub use impl_trait_aux::func3;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user