From c3c9423b742544429a7f29cc8bb5714f119f63bf Mon Sep 17 00:00:00 2001 From: Alan Smithee Date: Mon, 28 Feb 2022 18:25:54 +0900 Subject: [PATCH] fixed clippy warn --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 23eb3011..5be56cef 100644 --- a/src/main.rs +++ b/src/main.rs @@ -590,7 +590,7 @@ impl App { ) { Ok(_repo) => { println!("Finished cloning the hayabusa-rules repository."); - return Ok(()); + Ok(()) } Err(e) => { AlertMessage::alert( @@ -601,9 +601,9 @@ impl App { ), ) .ok(); - return Err(git2::Error::from_str(&String::default())); + Err(git2::Error::from_str(&String::default())) } - }; + } } }