mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-05 14:10:34 -04:00
Run cargo fmt
This commit is contained in:
parent
922ba006ae
commit
788cf884bf
2 changed files with 2 additions and 3 deletions
|
@ -259,8 +259,8 @@ impl SteamOSManager {
|
|||
#[cfg(test)]
|
||||
mod test {
|
||||
use super::*;
|
||||
use crate::power::{self, get_gpu_performance_level};
|
||||
use crate::power::test::{format_clocks, read_clocks};
|
||||
use crate::power::{self, get_gpu_performance_level};
|
||||
use crate::testing;
|
||||
use tokio::fs::{create_dir_all, write};
|
||||
use zbus::{Connection, ConnectionBuilder};
|
||||
|
|
|
@ -247,8 +247,7 @@ CCLK_RANGE in Core0:
|
|||
|
||||
pub async fn read_clocks() -> Result<String, std::io::Error> {
|
||||
let base = find_hwmon().await.unwrap();
|
||||
read_to_string(base.join(GPU_CLOCKS_SUFFIX))
|
||||
.await
|
||||
read_to_string(base.join(GPU_CLOCKS_SUFFIX)).await
|
||||
}
|
||||
|
||||
pub fn format_clocks(mhz: u32) -> String {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue