From 069131b72649bac740c29409abbad24f80b39e56 Mon Sep 17 00:00:00 2001 From: John Nunley Date: Sun, 22 Oct 2023 11:49:45 -0700 Subject: [PATCH] Remove unused mut Signed-off-by: John Nunley --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index d03e9d8..4caf19a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -646,7 +646,7 @@ impl Poller { /// poller.delete(&socket)?; /// # std::io::Result::Ok(()) /// ``` - pub fn wait(&self, events: &mut Events, mut timeout: Option) -> io::Result { + pub fn wait(&self, events: &mut Events, timeout: Option) -> io::Result { let span = tracing::trace_span!("Poller::wait", ?timeout); let _enter = span.enter();