1
0
Fork 0

Remove macOS deprecation warning from event loop

This commit is contained in:
Robbert van der Helm 2023-01-06 15:58:01 +01:00
parent d5006d109e
commit c0e9b29bf4

View file

@ -10,11 +10,6 @@ use super::{EventLoop, MainThreadExecutor};
use crate::util::permit_alloc;
/// See [`EventLoop`][super::EventLoop].
#[cfg_attr(
target_os = "macos",
deprecated = "macOS needs to have its own event loop implementation, this implementation may \
not work correctly"
)]
pub(crate) struct LinuxEventLoop<T, E> {
/// The thing that ends up executing these tasks. The tasks are usually executed from the worker
/// thread, but if the current thread is the main thread then the task cna also be executed