cleared up more clippy issues

This commit is contained in:
jude
2020-09-25 23:07:22 +01:00
parent e515589879
commit f13853d445
5 changed files with 28 additions and 32 deletions

View File

@ -135,7 +135,7 @@ pub async fn check_subscription(cache_http: impl CacheHttp, user_id: impl Into<U
let role_ids = env::var("SUBSCRIPTION_ROLES")
.map(
|var| var
.split(",")
.split(',')
.filter_map(|item| {
item.parse::<u64>().ok()
})