diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 2e931c3..01a223f 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -300,7 +300,7 @@ fn execute_command(mut command: Command) { } } -fn escape(x: &OsStr) -> Cow { +fn escape(x: &OsStr) -> Cow<'_, str> { shell_escape::escape(x.to_str().unwrap().into()) }