Skip to content

Commit 4dfe4c8

Browse files
committed
fix: manual drop on tests
1 parent 9227f3e commit 4dfe4c8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test-context/tests/test.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ impl AsyncTestContext for MyAsyncContext {
228228

229229
async fn teardown(self) {
230230
println!("Answer is {}", self.what_the_of_life);
231-
drop(self);
232231
}
233232
}
234233

@@ -255,7 +254,6 @@ impl TestContext for MyContext {
255254

256255
fn teardown(self) {
257256
println!("Answer is {}", self.what_the_of_life);
258-
drop(self);
259257
}
260258
}
261259

0 commit comments

Comments
 (0)