Skip to content

Commit bfa601c

Browse files
committed
fmt
1 parent b78329a commit bfa601c

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

arma/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,7 @@ fn log(ctx: Context, level: String, message: String) {
9595
println!("`log` called without a sender");
9696
return;
9797
};
98-
sender
99-
.send(Message::Log(level, message ))
100-
.unwrap();
98+
sender.send(Message::Log(level, message)).unwrap();
10199
}
102100

103101
fn send(message: fromarma::Message, socket: &mut Stream) {

bin/src/commands/photoshoot/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ pub fn execute(cmd: &Command) -> Result<Report, Error> {
8787
if config.hemtt().launch().contains_key("photoshoot") {
8888
configs.push("photoshoot".to_string());
8989
}
90-
let launch =read_config(&config, &configs, &mut report);
90+
let launch = read_config(&config, &configs, &mut report);
9191
let Some(launch) = launch else {
9292
return Ok(report);
9393
};

libs/common/src/arma/control.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pub mod toarma {
2525

2626
pub mod fromarma {
2727
use serde::{Deserialize, Serialize};
28-
28+
2929
#[derive(Debug, Serialize, Deserialize)]
3030
pub enum Level {
3131
Trace,

0 commit comments

Comments
 (0)