mirror of
https://github.com/edg-l/ddnet-map-diff.git
synced 2024-10-05 08:54:20 +00:00
misc
This commit is contained in:
parent
563fca16d2
commit
3e1758d415
|
@ -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()
|
||||
};
|
||||
|
||||
|
|
|
@ -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(())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue