clippy fix
This commit is contained in:
parent
ace35c7c86
commit
c151ac409b
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ pub enum OrganizeError {
|
|||
pub fn reorganize(dir: &Path, dry_run: bool) -> anyhow::Result<()> {
|
||||
let renames = get_renames(dir)?;
|
||||
|
||||
if renames.len() == 0 {
|
||||
if renames.is_empty() {
|
||||
println!("Nothing to rename");
|
||||
return Ok(());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue