diff --git a/test/test-runner/src/util.rs b/test/test-runner/src/util.rs index 9de7920dd4fe..84cc048b49c6 100644 --- a/test/test-runner/src/util.rs +++ b/test/test-runner/src/util.rs @@ -52,10 +52,7 @@ impl From for Error { } #[cfg(target_os = "windows")] -pub fn as_unprivileged_user( - unpriv_user: &str, - func: impl FnOnce() -> T, -) -> Result { +pub fn as_unprivileged_user(unpriv_user: &str, func: impl FnOnce() -> T) -> Result { // NOTE: no-op let _ = unpriv_user; Ok(func())