Skip to content

Commit 4198707

Browse files
committed
fix: suppress clippy lint for too many arguments in CmdResult::new
Added #[allow(clippy::too_many_arguments)] to the CmdResult::new function in tests/uutests/src/lib/util.rs to suppress the Clippy warning, as the function legitimately requires multiple parameters for its intended functionality.
1 parent 30c6f1d commit 4198707

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/uutests/src/lib/util.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ pub struct CmdResult {
131131
}
132132

133133
impl CmdResult {
134+
#[allow(clippy::too_many_arguments)]
134135
pub fn new<S, T, U, V>(
135136
bin_path: S,
136137
util_name: Option<T>,

0 commit comments

Comments
 (0)