From 4da3070914af3d890dbbb095684451c27e426903 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Fri, 22 Mar 2024 21:28:34 +0100 Subject: [PATCH] Fix `clippy` lint --- src/bin/mdbook-iced.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/mdbook-iced.rs b/src/bin/mdbook-iced.rs index 525d3b7..fab26b4 100644 --- a/src/bin/mdbook-iced.rs +++ b/src/bin/mdbook-iced.rs @@ -34,7 +34,7 @@ fn main() -> Result<(), Error> { process::exit(0); } - if let Some(_) = matches.subcommand_matches("clean") { + if matches.subcommand_matches("clean").is_some() { clean(PathBuf::new())?; process::exit(0);