cleared up more clippy issues
This commit is contained in:
1 parent
e515589879
commit
f13853d445
5 files changed
+28
-32
No files matched your search
+1
-1
@@ -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()
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user