aboutsummaryrefslogtreecommitdiff
path: root/src/interest.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/interest.rs')
-rw-r--r--src/interest.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interest.rs b/src/interest.rs
index ee5158a..0aa0bda 100644
--- a/src/interest.rs
+++ b/src/interest.rs
@@ -17,8 +17,8 @@ use std::{fmt, ops};
pub struct Interest(NonZeroU8);
// These must be unique.
-const READABLE: u8 = 0b0_001;
-const WRITABLE: u8 = 0b0_010;
+const READABLE: u8 = 0b0001;
+const WRITABLE: u8 = 0b0010;
// The following are not available on all platforms.
#[cfg_attr(
not(any(
@@ -29,9 +29,9 @@ const WRITABLE: u8 = 0b0_010;
)),
allow(dead_code)
)]
-const AIO: u8 = 0b0_100;
+const AIO: u8 = 0b0100;
#[cfg_attr(not(target_os = "freebsd"), allow(dead_code))]
-const LIO: u8 = 0b1_000;
+const LIO: u8 = 0b1000;
impl Interest {
/// Returns a `Interest` set representing readable interests.