Skip to content

Commit eb9f634

Browse files
authored
implement Copy for Rlimit (#1150)
1 parent a07fec9 commit eb9f634

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/process/rlimit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pub use backend::process::types::Resource;
66

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

0 commit comments

Comments
 (0)