From d96d853b5c307731a580f436e6ba3c4a0b2cfeef Mon Sep 17 00:00:00 2001 From: Seiichi Uchida Date: Wed, 6 Jun 2018 10:56:07 +0900 Subject: [PATCH] Fix up tests for empty impls --- tests/target/big-impl-block.rs | 3 +-- tests/target/impls.rs | 9 +++------ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/tests/target/big-impl-block.rs b/tests/target/big-impl-block.rs index b7ea2461744..5f4fca7bb9b 100644 --- a/tests/target/big-impl-block.rs +++ b/tests/target/big-impl-block.rs @@ -80,5 +80,4 @@ impl SubSelectDirect S: event::Stream, F: for<'t> FnMut(transform::Api<'t, Stream>>) -> transform::Api<'t, X>, X: event::Stream, -{ -} +{} diff --git a/tests/target/impls.rs b/tests/target/impls.rs index 3f9c1f004d1..390f1a12cd3 100644 --- a/tests/target/impls.rs +++ b/tests/target/impls.rs @@ -134,13 +134,11 @@ impl PartialEq for S where T: PartialEq {} impl Handle, HandleType> -{ -} +{} impl PartialEq for Handle, HandleType> -{ -} +{} mod x { impl Foo @@ -149,8 +147,7 @@ impl Foo B: 'static, C: 'static, D: 'static, - { - } + {} } impl -- 2.44.0