Skip to content

Commit

Permalink
implement Copy for Rlimit (#1150)
Browse files Browse the repository at this point in the history
  • Loading branch information
m4rch3n1ng authored Sep 3, 2024
1 parent a07fec9 commit eb9f634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/process/rlimit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pub use backend::process::types::Resource;

/// `struct rlimit`—Current and maximum values used in [`getrlimit`],
/// [`setrlimit`], and [`prlimit`].
#[derive(Debug, Clone, PartialEq, Eq)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct Rlimit {
/// Current effective, “soft”, limit.
pub current: Option<u64>,
Expand Down

0 comments on commit eb9f634

Please sign in to comment.