Skip to content

Commit

Permalink
Correctly specify crossbeam-channel as feature.
Browse files Browse the repository at this point in the history
The feature controlling the usage of `crossbeam_channel` is
not `crossbeam`.

This has been incorrect since it was made optional in be6ef8a.
  • Loading branch information
waywardmonkeys committed Jul 19, 2024
1 parent 128bf62 commit f35527e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion notify-debouncer-full/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ where
}
}

#[cfg(feature = "crossbeam")]
#[cfg(feature = "crossbeam-channel")]
impl DebounceEventHandler for crossbeam_channel::Sender<DebounceEventResult> {
fn handle_event(&mut self, event: DebounceEventResult) {
let _ = self.send(event);
Expand Down
2 changes: 1 addition & 1 deletion notify-debouncer-mini/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ where
}
}

#[cfg(feature = "crossbeam")]
#[cfg(feature = "crossbeam-channel")]
impl DebounceEventHandler for crossbeam_channel::Sender<DebounceEventResult> {
fn handle_event(&mut self, event: DebounceEventResult) {
let _ = self.send(event);
Expand Down

0 comments on commit f35527e

Please sign in to comment.