From 63011080a24f01645f9b879ca87662fa6c128cf5 Mon Sep 17 00:00:00 2001 From: oech3 <79379754+oech3@users.noreply.github.com> Date: Tue, 17 Mar 2026 19:25:25 +0900 Subject: [PATCH] nohup: #[allow(clippy::unwrap_used, reason = ...)] --- src/uu/nohup/src/nohup.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/uu/nohup/src/nohup.rs b/src/uu/nohup/src/nohup.rs index 6280d44e1e3..f129b5879d8 100644 --- a/src/uu/nohup/src/nohup.rs +++ b/src/uu/nohup/src/nohup.rs @@ -78,8 +78,9 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> { if unsafe { !_vprocmgr_detach_from_console(0).is_null() } { return Err(NohupError::CannotDetach.into()); } - + #[allow(clippy::unwrap_used, reason = "set as required by clap")] let mut cmd_iter = matches.get_many::(options::CMD).unwrap(); + #[allow(clippy::unwrap_used, reason = "set as required by clap")] let cmd = cmd_iter.next().unwrap(); let args: Vec<&String> = cmd_iter.collect();