Skip to content

Commit 98bacf8

Browse files
committed
Rename drop_fn to drop
1 parent 79ae892 commit 98bacf8

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

futures-test/src/task/panic_waker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ unsafe fn wake_panic(_data: *const()) {
1515

1616
const PANIC_WAKER_VTABLE: RawWakerVTable = RawWakerVTable {
1717
clone: noop_clone,
18-
drop_fn: noop,
18+
drop: noop,
1919
wake: wake_panic,
2020
};
2121

futures-util/src/task/arc_wake.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ macro_rules! waker_vtable {
55
($ty:ident) => {
66
&RawWakerVTable {
77
clone: clone_arc_raw::<$ty>,
8-
drop_fn: drop_arc_raw::<$ty>,
8+
drop: drop_arc_raw::<$ty>,
99
wake: wake_arc_raw::<$ty>,
1010
}
1111
};

futures-util/src/task/noop_waker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ unsafe fn noop(_data: *const()) {
1212

1313
const NOOP_WAKER_VTABLE: RawWakerVTable = RawWakerVTable {
1414
clone: noop_clone,
15-
drop_fn: noop,
15+
drop: noop,
1616
wake: noop,
1717
};
1818

futures-util/src/task/waker_ref.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ macro_rules! ref_vtable {
4545
($ty:ident) => {
4646
&RawWakerVTable {
4747
clone: clone_arc_raw::<$ty>,
48-
drop_fn: noop,
48+
drop: noop,
4949
wake: wake_arc_raw::<$ty>,
5050
}
5151
};
@@ -55,7 +55,7 @@ macro_rules! owned_vtable {
5555
($ty:ident) => {
5656
&RawWakerVTable {
5757
clone: clone_arc_raw::<$ty>,
58-
drop_fn: drop_arc_raw::<$ty>,
58+
drop: drop_arc_raw::<$ty>,
5959
wake: wake_arc_raw::<$ty>,
6060
}
6161
};

0 commit comments

Comments
 (0)