Skip to content

Commit

Permalink
symmetric diff
Browse files Browse the repository at this point in the history
  • Loading branch information
fiji-flo committed Sep 28, 2020
1 parent ef9ea34 commit e100891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async fn groups(
.iter()
.cloned()
.collect::<HashSet<_>>()
.difference(&token.iter().cloned().collect::<HashSet<_>>())
.symmetric_difference(&token.iter().cloned().collect::<HashSet<_>>())
.cloned()
.collect();
Ok(HttpResponse::Ok().json(AllGroups { token, packs, diff }))
Expand Down

0 comments on commit e100891

Please sign in to comment.