Run cargo fmt

... to have canonical formatting.

Signed-off-by: Henner Zeller <h.zeller@acm.org>
This commit is contained in:
Henner Zeller 2026-03-08 08:37:46 +01:00
parent 7d8337bd5e
commit 4e946eef77
2 changed files with 45 additions and 22 deletions

View file

@ -1,5 +1,5 @@
use std::{thread::sleep, time::Duration};
use clap::Parser;
use std::{thread::sleep, time::Duration};
mod stage;
@ -7,11 +7,11 @@ mod stage;
#[command(version, about, long_about = None)]
struct CliArgs {
/// Interface to talk to movement stage
#[arg(long, default_value="/dev/ttyACM0")]
#[arg(long, default_value = "/dev/ttyACM0")]
stage_device: String,
/// Speed of the stage device (bps)
#[arg(long, default_value="115200")]
#[arg(long, default_value = "115200")]
tty_speed: u32,
}
@ -43,8 +43,7 @@ fn main() {
//Ok(())
}
struct App {
}
struct App {}
impl Default for App {
fn default() -> Self {