Skip to content

Commit

Permalink
Merge pull request #57 from arsalan86/watchdescriptor-traits
Browse files Browse the repository at this point in the history
add: Hash trait for WatchDescriptor
  • Loading branch information
hannobraun committed Jul 26, 2017
2 parents dae65bd + 725abd5 commit 8cc6601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inotify/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ pub use self::watch_mask::WatchMask;
/// [`Inotify::add_watch`]: struct.Inotify.html#method.add_watch
/// [`Inotify::rm_watch`]: struct.Inotify.html#method.rm_watch
/// [`Event`]: struct.Event.html
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub struct WatchDescriptor(RawFd);


Expand Down

0 comments on commit 8cc6601

Please sign in to comment.