From 84bc13b4dd181d14a100d2d8a3716525c79cd25e Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 13 Jan 2026 21:51:00 +0100 Subject: Fix style issues coming from recent merge MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I apparently merged the 'inflection' branch without checking the code style. This means that a lot of warnings are being raised by clippy and I'm unsure which commit did what. Since I'm lazy about this right now, let's bring all fixes in a single commit. Signed-off-by: Miquel Sabaté Solà --- crates/cli/src/exercises.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/cli/src/exercises.rs') diff --git a/crates/cli/src/exercises.rs b/crates/cli/src/exercises.rs index b153aca..518f604 100644 --- a/crates/cli/src/exercises.rs +++ b/crates/cli/src/exercises.rs @@ -4,8 +4,8 @@ use std::vec::IntoIter; // Show the help message. fn help(msg: Option<&str>) { - if msg.is_some() { - println!("{}.\n", msg.unwrap()); + if let Some(msg) = msg { + println!("{}.\n", msg); } println!("mihi exercises: Manage exercises.\n"); -- cgit v1.2.3