Skip to content

Commit

Permalink
Clippy cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
asomers committed Sep 29, 2024
1 parent c39e2c9 commit f22cb01
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,6 @@ pub enum Action {
/// [`ReadBps`], [`WriteBps`], [`ReadIops`], [`WriteIops`]
///
/// [`CpuTime`]: Resource::CpuTime
/// [`WallClock`]: Resource::Wallclock
/// [`ReadBps`]: Resource::ReadBps
/// [`WriteBps`]: Resource::WriteBps
Expand Down Expand Up @@ -2023,7 +2022,7 @@ pub mod tests {
subject: Subject::user_name("nobody").expect("no user 'nobody'"),
resource: Resource::VMemoryUse,
action: Action::Deny,
limit: Limit::amount(1 * 1024 * 1024 * 1024),
limit: Limit::amount(1 << 30),
}
);

Expand Down

0 comments on commit f22cb01

Please sign in to comment.