Skip to content

Commit 0c5b3c9

Browse files
committed
fixes clippy::unnecessary_semicolon
1 parent 0985146 commit 0c5b3c9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/usage.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ pub fn run(dir: &Path, config: &Config) -> Result<()> {
6666

6767
if let Some(ref nodes) = config.mm_nodes {
6868
command.args(["-N", nodes]);
69-
};
69+
}
7070

7171
if let Some(ref local_work_dir) = config.mm_local_work_dir {
7272
command.arg("-s").arg(local_work_dir);
73-
};
73+
}
7474

7575
if let Some(ref global_work_dir) = config.mm_global_work_dir {
7676
command.arg("-g").arg(global_work_dir);
77-
};
77+
}
7878

7979
#[cfg(feature = "log")]
8080
log::debug!("command: {command:?}");
@@ -123,7 +123,7 @@ fn sum(dir: &Path, report: &Path, config: &Config) -> Result<()> {
123123
} else {
124124
let Acc { inodes, bytes } = sum_total(report, config.count_links)?;
125125
output(dir, inodes, bytes, config);
126-
};
126+
}
127127

128128
Ok(())
129129
}

0 commit comments

Comments
 (0)