aboutsummaryrefslogtreecommitdiff
path: root/tests/drop_order.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/drop_order.rs')
-rw-r--r--tests/drop_order.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/drop_order.rs b/tests/drop_order.rs
index 1557188..8ced56e 100644
--- a/tests/drop_order.rs
+++ b/tests/drop_order.rs
@@ -2,9 +2,10 @@
// Refs: https://doc.rust-lang.org/reference/destructors.html
-use pin_project::pin_project;
use std::{cell::Cell, pin::Pin, thread};
+use pin_project::pin_project;
+
struct D<'a>(&'a Cell<usize>, usize);
impl Drop for D<'_> {