Run cargo fmt

This commit is contained in:
Vicki Pfau 2024-05-30 16:54:14 -07:00
parent 922ba006ae
commit 788cf884bf
2 changed files with 2 additions and 3 deletions

View file

@ -259,8 +259,8 @@ impl SteamOSManager {
#[cfg(test)] #[cfg(test)]
mod test { mod test {
use super::*; use super::*;
use crate::power::{self, get_gpu_performance_level};
use crate::power::test::{format_clocks, read_clocks}; use crate::power::test::{format_clocks, read_clocks};
use crate::power::{self, get_gpu_performance_level};
use crate::testing; use crate::testing;
use tokio::fs::{create_dir_all, write}; use tokio::fs::{create_dir_all, write};
use zbus::{Connection, ConnectionBuilder}; use zbus::{Connection, ConnectionBuilder};

View file

@ -247,8 +247,7 @@ CCLK_RANGE in Core0:
pub async fn read_clocks() -> Result<String, std::io::Error> { pub async fn read_clocks() -> Result<String, std::io::Error> {
let base = find_hwmon().await.unwrap(); let base = find_hwmon().await.unwrap();
read_to_string(base.join(GPU_CLOCKS_SUFFIX)) read_to_string(base.join(GPU_CLOCKS_SUFFIX)).await
.await
} }
pub fn format_clocks(mhz: u32) -> String { pub fn format_clocks(mhz: u32) -> String {