From 6c98181a96e1e29e2c15b7e737d309bed2f3f296 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Sun, 29 Sep 2024 14:35:26 -0600 Subject: [PATCH] Clippy cleanup --- src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 8c69eab..10b13b1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -693,7 +693,6 @@ pub enum Action { /// [`ReadBps`], [`WriteBps`], [`ReadIops`], [`WriteIops`] /// /// [`CpuTime`]: Resource::CpuTime - /// [`WallClock`]: Resource::Wallclock /// [`ReadBps`]: Resource::ReadBps /// [`WriteBps`]: Resource::WriteBps @@ -2024,7 +2023,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), } );