Skip to content

Commit 2d7b454

Browse files
committed
Remove double underscore
1 parent 249c751 commit 2d7b454

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/sys/windows/selector.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ impl AfdGroup {
5050
}
5151

5252
cfg_io_source! {
53-
const POLL_GROUP__MAX_GROUP_SIZE: usize = 32;
53+
const POLL_GROUP_MAX_GROUP_SIZE: usize = 32;
5454

5555
impl AfdGroup {
5656
pub fn acquire(&self) -> io::Result<Arc<Afd>> {
@@ -59,7 +59,7 @@ cfg_io_source! {
5959
self._alloc_afd_group(&mut afd_group)?;
6060
} else {
6161
// + 1 reference in Vec
62-
if Arc::strong_count(afd_group.last().unwrap()) > POLL_GROUP__MAX_GROUP_SIZE {
62+
if Arc::strong_count(afd_group.last().unwrap()) > POLL_GROUP_MAX_GROUP_SIZE {
6363
self._alloc_afd_group(&mut afd_group)?;
6464
}
6565
}

0 commit comments

Comments
 (0)