mirror of https://github.com/smol-rs/polling
chore: prefer usize::MAX to std::usize::MAX
Signed-off-by: tison <wander4096@gmail.com>
This commit is contained in:
parent
d9a65fdd73
commit
ceb88a46c4
|
@ -71,7 +71,6 @@ use std::num::NonZeroUsize;
|
|||
use std::sync::atomic::{AtomicBool, Ordering};
|
||||
use std::sync::Mutex;
|
||||
use std::time::Duration;
|
||||
use std::usize;
|
||||
|
||||
use cfg_if::cfg_if;
|
||||
|
||||
|
@ -121,7 +120,7 @@ cfg_if! {
|
|||
pub mod os;
|
||||
|
||||
/// Key associated with notifications.
|
||||
const NOTIFY_KEY: usize = std::usize::MAX;
|
||||
const NOTIFY_KEY: usize = usize::MAX;
|
||||
|
||||
/// Indicates that a file descriptor or socket can read or write without blocking.
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||
|
|
Loading…
Reference in New Issue