chore: run cargo fmt
This commit is contained in:
parent
6c5c82ee1c
commit
4b89ad9962
@ -1,9 +1,9 @@
|
|||||||
|
use crate::Cli;
|
||||||
use anyhow::Result;
|
use anyhow::Result;
|
||||||
use clap::Args;
|
use clap::Args;
|
||||||
use std::fs::File;
|
use std::fs::File;
|
||||||
use std::io::{Read, Write};
|
use std::io::{Read, Write};
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
use crate::Cli;
|
|
||||||
|
|
||||||
/// Decrypt a QMCv1 file
|
/// Decrypt a QMCv1 file
|
||||||
#[derive(Args)]
|
#[derive(Args)]
|
||||||
|
@ -22,7 +22,7 @@ pub struct Cli {
|
|||||||
/// Preferred buffer size when reading file, in bytes.
|
/// Preferred buffer size when reading file, in bytes.
|
||||||
/// Default to 4MiB.
|
/// Default to 4MiB.
|
||||||
#[clap(long, short = 'B', default_value_t=4*1024*1024)]
|
#[clap(long, short = 'B', default_value_t=4*1024*1024)]
|
||||||
buffer_size: usize
|
buffer_size: usize,
|
||||||
}
|
}
|
||||||
|
|
||||||
fn run_command(cli: &Cli) -> Result<i32> {
|
fn run_command(cli: &Cli) -> Result<i32> {
|
||||||
|
Loading…
Reference in New Issue
Block a user