Skip to content

Commit 5964d24

Browse files
committed
fix: duplicate mod
1 parent 9ab4661 commit 5964d24

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

compio-signal/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@
2222
#[cfg(windows)]
2323
pub mod windows;
2424

25+
#[cfg(unix)]
2526
#[cfg_attr(target_os = "linux", path = "linux.rs")]
2627
pub mod unix;
2728

28-
#[cfg(all(unix, not(target_os = "linux")))]
29-
pub mod unix;
30-
3129
/// Completes when a "ctrl-c" notification is sent to the process.
3230
pub async fn ctrl_c() -> std::io::Result<()> {
3331
#[cfg(windows)]

0 commit comments

Comments
 (0)