Skip to content

Commit d96d853

Browse files
committed
Fix up tests for empty impls
1 parent 356a0c4 commit d96d853

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

tests/target/big-impl-block.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,4 @@ where
8080
S: event::Stream,
8181
F: for<'t> FnMut(transform::Api<'t, Stream<ContentStream<S>>>) -> transform::Api<'t, X>,
8282
X: event::Stream,
83-
{
84-
}
83+
{}

tests/target/impls.rs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,11 @@ mod m {
134134

135135
impl<BorrowType, K, V, NodeType, HandleType>
136136
Handle<NodeRef<BorrowType, K, V, NodeType>, HandleType>
137-
{
138-
}
137+
{}
139138

140139
impl<BorrowType, K, V, NodeType, HandleType> PartialEq
141140
for Handle<NodeRef<BorrowType, K, V, NodeType>, HandleType>
142-
{
143-
}
141+
{}
144142

145143
mod x {
146144
impl<A, B, C, D> Foo
@@ -149,8 +147,7 @@ mod x {
149147
B: 'static,
150148
C: 'static,
151149
D: 'static,
152-
{
153-
}
150+
{}
154151
}
155152

156153
impl<ConcreteThreadSafeLayoutNode: ThreadSafeLayoutNodeFoo>

0 commit comments

Comments
 (0)