From 01a6cc6eb14b98d3f53708b3ee136632f13cdbdf Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Fri, 6 Sep 2024 10:54:42 +0200 Subject: [PATCH] tests/common/util.rs: fix warnings from doc_lazy_continuation and unexpected_cfgs lints --- tests/common/util.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/common/util.rs b/tests/common/util.rs index f3527f4..2f169d0 100644 --- a/tests/common/util.rs +++ b/tests/common/util.rs @@ -5,7 +5,7 @@ //spell-checker: ignore (linux) rlimit prlimit coreutil ggroups uchild uncaptured scmd SHLVL canonicalized -#![allow(dead_code)] +#![allow(dead_code, unexpected_cfgs)] use pretty_assertions::assert_eq; #[cfg(any(target_os = "linux", target_os = "android"))] @@ -1401,12 +1401,12 @@ impl UCommand { /// /// These __defaults__ are: /// * `bin_path`: Depending on the platform and os, the native shell (unix -> `/bin/sh` etc.). - /// This default also requires to set the first argument to `-c` on unix (`/C` on windows) if - /// this argument wasn't specified explicitly by the user. + /// This default also requires to set the first argument to `-c` on unix (`/C` on windows) if + /// this argument wasn't specified explicitly by the user. /// * `util_name`: `None`. If neither `bin_path` nor `util_name` were given the arguments are - /// run in a shell (See `bin_path` above). + /// run in a shell (See `bin_path` above). /// * `temp_dir`: If `current_dir` was not set, a new temporary directory will be created in - /// which this command will be run and `current_dir` will be set to this `temp_dir`. + /// which this command will be run and `current_dir` will be set to this `temp_dir`. /// * `current_dir`: The temporary directory given by `temp_dir`. /// * `timeout`: `30 seconds` /// * `stdin`: `Stdio::null()`