]> git.lizzy.rs Git - rust.git/commitdiff
Fix tidy
authorShotaro Yamada <sinkuu@sinkuu.xyz>
Mon, 8 Jul 2019 11:45:59 +0000 (20:45 +0900)
committerShotaro Yamada <sinkuu@sinkuu.xyz>
Mon, 19 Aug 2019 08:49:54 +0000 (17:49 +0900)
src/test/rustdoc/inline_cross/auxiliary/impl_trait_aux.rs
src/test/rustdoc/inline_cross/impl_trait.rs

index e0f7c6d08ce2fa38d7ed61ef1b5833d683dd2c58..24efe4297103f35aaf355c107ec15c772bb56c9f 100644 (file)
@@ -2,7 +2,10 @@
 
 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) {}
 
index b08a070dcb74d0fd11fbd9998cf129c7a29e14a4..3a9f2f880798d762a5edea0f7e74ec1f9b020626 100644 (file)
@@ -15,7 +15,8 @@
 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;