Skip to content

Commit

Permalink
feat: more derive traits for Fixed type
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgazelka committed Apr 24, 2024
1 parent 501ee78 commit 4986009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pub struct Fd(pub RawFd);
/// A file descriptor that has been registered with io_uring using
/// [`Submitter::register_files`](crate::Submitter::register_files) or [`Submitter::register_files_sparse`](crate::Submitter::register_files_sparse).
/// This can reduce overhead compared to using [`Fd`] in some cases.
#[derive(Debug, Clone, Copy)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[repr(transparent)]
pub struct Fixed(pub u32);

Expand Down

0 comments on commit 4986009

Please sign in to comment.