mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-08 07:30:36 -04:00
Run cargo fmt
This commit is contained in:
parent
0f14facac9
commit
04d4dc74af
1 changed files with 6 additions and 2 deletions
|
@ -68,7 +68,11 @@ pub struct SteamOSManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SteamOSManager {
|
impl SteamOSManager {
|
||||||
pub async fn new(connection: Connection, system_conn: &Connection, channel: Sender<Command>) -> Result<Self> {
|
pub async fn new(
|
||||||
|
connection: Connection,
|
||||||
|
system_conn: &Connection,
|
||||||
|
channel: Sender<Command>,
|
||||||
|
) -> Result<Self> {
|
||||||
Ok(SteamOSManager {
|
Ok(SteamOSManager {
|
||||||
hdmi_cec: HdmiCecControl::new(&connection).await?,
|
hdmi_cec: HdmiCecControl::new(&connection).await?,
|
||||||
proxy: Builder::new(system_conn)
|
proxy: Builder::new(system_conn)
|
||||||
|
@ -327,9 +331,9 @@ impl SteamOSManager {
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::testing;
|
|
||||||
use crate::daemon::channel;
|
use crate::daemon::channel;
|
||||||
use crate::daemon::user::UserContext;
|
use crate::daemon::user::UserContext;
|
||||||
|
use crate::testing;
|
||||||
|
|
||||||
use std::collections::{HashMap, HashSet};
|
use std::collections::{HashMap, HashSet};
|
||||||
use std::iter::zip;
|
use std::iter::zip;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue