diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-01-13 21:51:00 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-01-13 21:51:00 +0100 |
| commit | 84bc13b4dd181d14a100d2d8a3716525c79cd25e (patch) | |
| tree | 4386fda27048133cc433165a4e83fd0532732a63 /crates/cli/src/exercises.rs | |
| parent | 3f11980b29cda6340c809aff0c0f1c34e9c3ce26 (diff) | |
| download | mihi-84bc13b4dd181d14a100d2d8a3716525c79cd25e.tar.gz mihi-84bc13b4dd181d14a100d2d8a3716525c79cd25e.zip | |
Fix style issues coming from recent merge
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à <mssola@mssola.com>
Diffstat (limited to 'crates/cli/src/exercises.rs')
| -rw-r--r-- | crates/cli/src/exercises.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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"); |
