Skip to content

Commit

Permalink
Remove double underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomasdezeeuw committed Dec 31, 2023
1 parent 249c751 commit 2d7b454
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sys/windows/selector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Arc<Afd>> {
Expand All @@ -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)?;
}
}
Expand Down

0 comments on commit 2d7b454

Please sign in to comment.