diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-04-06 10:11:51 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-04-06 10:19:20 +0200 |
commit | 4825b5f606d2bdbd5be8d4ea4ff518294ccfbd53 (patch) | |
tree | 49650fe4bb6a58616c758ce62570b9e8dbfae925 | |
parent | 6172da3d342574f9d8ef04567c7e93448fbfb21f (diff) |
Fix clippy: remove return statement
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | src/main.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs index a45ebb7..932a290 100644 --- a/src/main.rs +++ b/src/main.rs @@ -128,20 +128,20 @@ fn app() -> Result<()> { let blacklist_filter = |repo: &Repo| -> bool { if config.blacklist().contains(repo) { trace!("In Blacklist: {:?} -> false", repo); - return false; + false } else { trace!("Not in Blacklist: {:?} -> true", repo); - return true; + true } }; let whitelist_filter = |repo: &Repo| -> bool { if config.whitelist().contains(repo) { trace!("In Whitelist: {:?} -> true", repo); - return true; + true } else { trace!("Not in Whitelist: {:?} -> false", repo); - return false; + false } }; |