about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Laban <alsuren@gmail.com>2019-08-06 10:26:37 +0100
committerDavid Laban <alsuren@gmail.com>2019-08-06 10:26:37 +0100
commit3882ed4abcd86c0f6d4ad19beece83998e5685a8 (patch)
treefc9664993e05e4c257c08a2933bb69b2ca8a5718
parentf40190a6a541479e504d783cd984670c6fa6cb39 (diff)
downloadrust-3882ed4abcd86c0f6d4ad19beece83998e5685a8.tar.gz
rust-3882ed4abcd86c0f6d4ad19beece83998e5685a8.zip
fixup! test drop order for parameters when a future is dropped part-way through execution
-rw-r--r--src/test/ui/async-await/drop-order/drop-order-when-cancelled.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/async-await/drop-order/drop-order-when-cancelled.rs b/src/test/ui/async-await/drop-order/drop-order-when-cancelled.rs
index 21600cfc139..410a623681d 100644
--- a/src/test/ui/async-await/drop-order/drop-order-when-cancelled.rs
+++ b/src/test/ui/async-await/drop-order/drop-order-when-cancelled.rs
@@ -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()));