]> git.lizzy.rs Git - rust.git/commitdiff
fixup! test drop order for parameters when a future is dropped part-way through execution
authorDavid Laban <alsuren@gmail.com>
Tue, 6 Aug 2019 09:26:37 +0000 (10:26 +0100)
committerDavid Laban <alsuren@gmail.com>
Tue, 6 Aug 2019 09:26:37 +0000 (10:26 +0100)
src/test/ui/async-await/drop-order/drop-order-when-cancelled.rs

index 21600cfc139b2091bddc00cef0b28d8366d731d9..410a623681db546c4826604ed44bf0898c528352 100644 (file)
@@ -199,7 +199,7 @@ fn assert_drop_order_after_cancel<Fut: Future<Output = ()>>(
 
     // Parameters are never dropped until the future completes.
     assert_eq!(*actual_order.borrow(), vec![DropOrder::Function]);
-    
+
     drop(fut);
 
     let expected_order = Rc::new(RefCell::new(Vec::new()));