From 4b89ad99624817e1c3a6d0d367171973f217ef5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B2=81=E6=A0=91=E4=BA=BA?= Date: Thu, 5 Sep 2024 23:04:17 +0100 Subject: [PATCH] chore: run cargo fmt --- um_cli/src/cmd/qmc1.rs | 2 +- um_cli/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/um_cli/src/cmd/qmc1.rs b/um_cli/src/cmd/qmc1.rs index ea68f9a..a9ed9f2 100644 --- a/um_cli/src/cmd/qmc1.rs +++ b/um_cli/src/cmd/qmc1.rs @@ -1,9 +1,9 @@ +use crate::Cli; use anyhow::Result; use clap::Args; use std::fs::File; use std::io::{Read, Write}; use std::path::PathBuf; -use crate::Cli; /// Decrypt a QMCv1 file #[derive(Args)] diff --git a/um_cli/src/main.rs b/um_cli/src/main.rs index 8d436c7..5f342f7 100644 --- a/um_cli/src/main.rs +++ b/um_cli/src/main.rs @@ -22,7 +22,7 @@ pub struct Cli { /// Preferred buffer size when reading file, in bytes. /// Default to 4MiB. #[clap(long, short = 'B', default_value_t=4*1024*1024)] - buffer_size: usize + buffer_size: usize, } fn run_command(cli: &Cli) -> Result {