Run cargo fmt

This commit is contained in:
Vicki Pfau 2024-09-09 20:05:00 -07:00
parent fb6e86d5e8
commit 111498513b

View file

@ -430,18 +430,12 @@ impl TdpLimit1 {
#[zbus(property(emits_changed_signal = "const"))] #[zbus(property(emits_changed_signal = "const"))]
async fn tdp_limit_min(&self) -> u32 { async fn tdp_limit_min(&self) -> u32 {
get_tdp_limit_range() get_tdp_limit_range().await.map(|(min, _)| min).unwrap_or(0)
.await
.map(|(min, _)| min)
.unwrap_or(0)
} }
#[zbus(property(emits_changed_signal = "const"))] #[zbus(property(emits_changed_signal = "const"))]
async fn tdp_limit_max(&self) -> u32 { async fn tdp_limit_max(&self) -> u32 {
get_tdp_limit_range() get_tdp_limit_range().await.map(|(_, max)| max).unwrap_or(0)
.await
.map(|(_, max)| max)
.unwrap_or(0)
} }
} }