mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-14 10:21:57 -04:00
Run cargo fmt
This commit is contained in:
parent
b0628fc7b9
commit
86515aceaf
1 changed files with 12 additions and 5 deletions
|
@ -98,7 +98,9 @@ impl SteamOSManager {
|
|||
|
||||
#[zbus(property)]
|
||||
fn wifi_power_management_state(&self) -> zbus::fdo::Result<u32> {
|
||||
Err(zbus::fdo::Error::UnknownProperty(String::from("This property can't currently be read")))
|
||||
Err(zbus::fdo::Error::UnknownProperty(String::from(
|
||||
"This property can't currently be read",
|
||||
)))
|
||||
}
|
||||
|
||||
#[zbus(property)]
|
||||
|
@ -123,7 +125,9 @@ impl SteamOSManager {
|
|||
|
||||
#[zbus(property)]
|
||||
fn fan_control_state(&self) -> zbus::fdo::Result<u32> {
|
||||
Err(zbus::fdo::Error::UnknownProperty(String::from("This property can't currently be read")))
|
||||
Err(zbus::fdo::Error::UnknownProperty(String::from(
|
||||
"This property can't currently be read",
|
||||
)))
|
||||
}
|
||||
|
||||
#[zbus(property)]
|
||||
|
@ -366,9 +370,12 @@ mod test {
|
|||
create_dir_all(crate::path("/etc/NetworkManager/conf.d"))
|
||||
.await
|
||||
.expect("create_dir_all");
|
||||
write(crate::path("/etc/NetworkManager/conf.d/wifi_backend.conf"), "wifi.backend=iwd\n")
|
||||
.await
|
||||
.expect("write");
|
||||
write(
|
||||
crate::path("/etc/NetworkManager/conf.d/wifi_backend.conf"),
|
||||
"wifi.backend=iwd\n",
|
||||
)
|
||||
.await
|
||||
.expect("write");
|
||||
|
||||
let manager = SteamOSManager::new().await.unwrap();
|
||||
let connection = ConnectionBuilder::session()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue