Verified Commit 8dcc83b9 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

chore: fix use the original iterator clippy warning

parent 8e7a73fc
......@@ -116,8 +116,7 @@ impl Keycloak {
.await?;
let groups = all_groups
.iter()
.filter(|group| root_groups.contains(&group.name.as_ref().unwrap().as_ref()))
.collect::<Vec<_>>();
.filter(|group| root_groups.contains(&group.name.as_ref().unwrap().as_ref()));
let groups_members = groups.into_iter().flat_map(|group| {
let group_name = group.name.as_ref().unwrap();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment