Skip to content

Commit 3882ed4

Browse files
committed
fixup! test drop order for parameters when a future is dropped part-way through execution
1 parent f40190a commit 3882ed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/async-await/drop-order/drop-order-when-cancelled.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ fn assert_drop_order_after_cancel<Fut: Future<Output = ()>>(
199199

200200
// Parameters are never dropped until the future completes.
201201
assert_eq!(*actual_order.borrow(), vec![DropOrder::Function]);
202-
202+
203203
drop(fut);
204204

205205
let expected_order = Rc::new(RefCell::new(Vec::new()));

0 commit comments

Comments
 (0)