mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
feat(test); Add arg_line support to Execs
This commit is contained in:
parent
1c82fe420e
commit
34d0bcb3e9
@ -1524,6 +1524,12 @@ impl ArgLineCommandExt for &mut ProcessBuilder {
|
||||
}
|
||||
}
|
||||
|
||||
impl ArgLineCommandExt for &mut Execs {
|
||||
fn arg<S: AsRef<std::ffi::OsStr>>(self, s: S) -> Self {
|
||||
self.arg(s)
|
||||
}
|
||||
}
|
||||
|
||||
impl ArgLineCommandExt for snapbox::cmd::Command {
|
||||
fn arg<S: AsRef<std::ffi::OsStr>>(self, s: S) -> Self {
|
||||
self.arg(s)
|
||||
|
Loading…
x
Reference in New Issue
Block a user