diff --git a/tests/common/util.rs b/tests/common/util.rs index cfde5f229..ffca7d9b2 100644 --- a/tests/common/util.rs +++ b/tests/common/util.rs @@ -1166,13 +1166,13 @@ pub fn host_name_for(util_name: &str) -> Cow { { // make call to `host_name_for` idempotent if util_name.starts_with('g') && util_name != "groups" { - return util_name.into(); + util_name.into() } else { - return format!("g{}", util_name).into(); + format!("g{}", util_name).into() } } #[cfg(target_os = "linux")] - return util_name.into(); + util_name.into() } // GNU coreutils version 8.32 is the reference version since it is the latest version and the