Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson committed Dec 8, 2024
1 parent b78329a commit bfa601c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions arma/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ fn log(ctx: Context, level: String, message: String) {
println!("`log` called without a sender");
return;
};
sender
.send(Message::Log(level, message ))
.unwrap();
sender.send(Message::Log(level, message)).unwrap();
}

fn send(message: fromarma::Message, socket: &mut Stream) {
Expand Down
2 changes: 1 addition & 1 deletion bin/src/commands/photoshoot/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ pub fn execute(cmd: &Command) -> Result<Report, Error> {
if config.hemtt().launch().contains_key("photoshoot") {
configs.push("photoshoot".to_string());
}
let launch =read_config(&config, &configs, &mut report);
let launch = read_config(&config, &configs, &mut report);
let Some(launch) = launch else {
return Ok(report);
};
Expand Down
2 changes: 1 addition & 1 deletion libs/common/src/arma/control.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub mod toarma {

pub mod fromarma {
use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize)]
pub enum Level {
Trace,
Expand Down

0 comments on commit bfa601c

Please sign in to comment.