diff options
| author | Urgau <urgau@numericable.fr> | 2024-12-19 22:33:49 +0100 |
|---|---|---|
| committer | Urgau <urgau@numericable.fr> | 2025-06-12 07:35:05 +0200 |
| commit | 14b3e630129a3c89020e79bf7f0f1e60f6a6e93a (patch) | |
| tree | 5bc48a2985fa044ea507c34b61999352f62752ad /library/core | |
| parent | fafc0f249f8d6c2eabd2c75dca536f04ddead79f (diff) | |
Allow `unpredictable_function_pointer_comparisons` lint in more places
Diffstat (limited to 'library/core')
| -rw-r--r-- | library/core/src/task/wake.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/task/wake.rs b/library/core/src/task/wake.rs index 9b8fefe42af..bb7efe582f7 100644 --- a/library/core/src/task/wake.rs +++ b/library/core/src/task/wake.rs @@ -104,6 +104,7 @@ impl RawWaker { /// synchronization. This is because [`LocalWaker`] is not thread safe itself, so it cannot /// be sent across threads. #[stable(feature = "futures_api", since = "1.36.0")] +#[allow(unpredictable_function_pointer_comparisons)] #[derive(PartialEq, Copy, Clone, Debug)] pub struct RawWakerVTable { /// This function will be called when the [`RawWaker`] gets cloned, e.g. when |
