From 2d7b45420b07c49770fc5e8f0fdf8f22bbba1d3a Mon Sep 17 00:00:00 2001 From: Thomas de Zeeuw Date: Fri, 8 Dec 2023 09:42:41 +0100 Subject: [PATCH] Remove double underscore --- src/sys/windows/selector.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sys/windows/selector.rs b/src/sys/windows/selector.rs index 23d7bc5c1..7faeb34b6 100644 --- a/src/sys/windows/selector.rs +++ b/src/sys/windows/selector.rs @@ -50,7 +50,7 @@ impl AfdGroup { } cfg_io_source! { - const POLL_GROUP__MAX_GROUP_SIZE: usize = 32; + const POLL_GROUP_MAX_GROUP_SIZE: usize = 32; impl AfdGroup { pub fn acquire(&self) -> io::Result> { @@ -59,7 +59,7 @@ cfg_io_source! { self._alloc_afd_group(&mut afd_group)?; } else { // + 1 reference in Vec - if Arc::strong_count(afd_group.last().unwrap()) > POLL_GROUP__MAX_GROUP_SIZE { + if Arc::strong_count(afd_group.last().unwrap()) > POLL_GROUP_MAX_GROUP_SIZE { self._alloc_afd_group(&mut afd_group)?; } }