Skip to content

Commit 1bd6b90

Browse files
authored
refactor: cfg for sys/time.rs (#2229)
* refactor: cfg for sys/time.rs * fmt
1 parent 2f810de commit 1bd6b90

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/sys/time.rs

+1-6
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,7 @@ pub(crate) mod timer {
9797
const TFD_TIMER_CANCEL_ON_SET = libc::TFD_TIMER_CANCEL_ON_SET;
9898
}
9999
}
100-
#[cfg(any(
101-
target_os = "freebsd",
102-
target_os = "netbsd",
103-
target_os = "dragonfly",
104-
target_os = "illumos"
105-
))]
100+
#[cfg(any(freebsdlike, target_os = "netbsd", target_os = "illumos"))]
106101
bitflags! {
107102
/// Flags that are used for arming the timer.
108103
#[derive(Copy, Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]

0 commit comments

Comments
 (0)