From a76163f24faf98937c3ac220adbedb5d50806808 Mon Sep 17 00:00:00 2001 From: Valentin Bersier Date: Mon, 9 Jan 2023 16:21:13 +0100 Subject: [PATCH] style: format --- src/params.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/params.rs b/src/params.rs index 5531c80..d2e84ed 100644 --- a/src/params.rs +++ b/src/params.rs @@ -1,7 +1,7 @@ -use std::path::PathBuf; +use std::{fs, path::PathBuf}; + +use anyhow::{anyhow, Result}; use clap::Parser; -use anyhow::{ anyhow, Result }; -use std::fs; #[derive(Parser, Debug)] #[command(author, version, about, long_about = None)] @@ -23,7 +23,8 @@ impl Params { .dir .clone() .unwrap_or(std::env::current_dir()?) - .as_os_str().into(); + .as_os_str() + .into(); let dir = fs::canonicalize(dir_pathbuf)? .as_os_str()