Skip to content

Commit 8c8ed8f

Browse files
committed
Allow unpredictable_function_pointer_comparisons lint in more places
1 parent ca23f47 commit 8c8ed8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/task/wake.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ impl RawWaker {
104104
/// synchronization. This is because [`LocalWaker`] is not thread safe itself, so it cannot
105105
/// be sent across threads.
106106
#[stable(feature = "futures_api", since = "1.36.0")]
107+
#[allow(unpredictable_function_pointer_comparisons)]
107108
#[derive(PartialEq, Copy, Clone, Debug)]
108109
pub struct RawWakerVTable {
109110
/// This function will be called when the [`RawWaker`] gets cloned, e.g. when

0 commit comments

Comments
 (0)