This commit is contained in:
Edgar 2023-09-14 12:20:30 +02:00
parent 563fca16d2
commit 3e1758d415
No known key found for this signature in database
GPG key ID: 70ADAE8F35904387
2 changed files with 8 additions and 3 deletions

View file

@ -19,7 +19,7 @@ struct Cli {
result: PathBuf,
}
pub fn run_cli() -> Result<()> {
pub fn run() -> Result<()> {
let cli = Cli::parse();
let Cli {
@ -110,7 +110,7 @@ where
let height = tiles_old.dim().0.min(tiles_new.dim().0);
let mut diff_group = Group {
name: format!("{} Diff", name),
name: format!("{name} Diff"),
..Default::default()
};

View file

@ -1,9 +1,14 @@
#![deny(clippy::all)]
#![deny(clippy::nursery)]
#![deny(clippy::pedantic)]
#![forbid(unsafe_code)]
use color_eyre::Result;
mod cli;
fn main() -> Result<()> {
color_eyre::install()?;
cli::run_cli()?;
cli::run()?;
Ok(())
}