Don't make Listener require Sync

This commit is contained in:
Josh Triplett 2023-05-21 00:38:10 +02:00
parent e77268092f
commit fa24669e57
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ pub(crate) use unix_listener::UnixListener;
/// implement at least one [`ToListener`](crate::listener::ToListener) that
/// outputs your Listener type.
#[async_trait]
pub trait Listener<State>: Debug + Display + Send + Sync + 'static
pub trait Listener<State>: Debug + Display + Send + 'static
where
State: Send + Sync + 'static,
{