From 4b60ff3acd1c433a5f229912e8df56184a766b87 Mon Sep 17 00:00:00 2001 From: Graham Keenan Date: Sat, 5 Oct 2024 16:28:20 +0100 Subject: [PATCH] chore: minor edit --- src/main.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 9141109..51775b7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,12 +2,11 @@ mod cli; mod license; use clap::Parser; -use std::io::Result; use cli::{Cli, LygenCommand}; use license::{License, LicenseType}; -fn main() -> Result<()> { +fn main() { let cli = Cli::parse(); let license = match cli.commands { @@ -31,6 +30,4 @@ fn main() -> Result<()> { if let Err(e) = license.write() { eprintln!("error writing license to disk - {e}"); } - - Ok(()) }