tree-wide: use is_empty() and similar

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler committed 2021-12-30 15:02:07 +01:00
1 parent 540fca5c9e
commit 3afecb8409
6 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ fn main() -> Result<(), Error> {
let (_prefix, args) = get_args();
if args.len() < 1 {
if args.is_empty() {
bail!("missing arguments");
}