mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-16 11:16:45 -04:00
process: Executable names should be passed as AsRef<OsStr> instead of &str
This commit is contained in:
parent
4cc4c74ff0
commit
50b6fb85b1
2 changed files with 23 additions and 11 deletions
|
@ -89,7 +89,7 @@ pub struct MockDBus {
|
|||
|
||||
pub struct Test {
|
||||
base: TempDir,
|
||||
pub process_cb: Cell<fn(&str, &[&OsStr]) -> Result<(i32, String)>>,
|
||||
pub process_cb: Cell<fn(&OsStr, &[&OsStr]) -> Result<(i32, String)>>,
|
||||
pub mock_dbus: Cell<Option<MockDBus>>,
|
||||
pub dbus_address: Mutex<Option<Address>>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue