Skip to content

Commit

Permalink
Make clippy happy again
Browse files Browse the repository at this point in the history
  • Loading branch information
AZWN committed Oct 29, 2024
1 parent 94e4f42 commit 05b9ca9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scopegraphs/src/containers/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,9 @@ where
let filtered_env = sub_env
.iter()
.filter(|p1| {
base_env
!base_env
.iter()
.find(|p2| data_equiv.data_equiv(p1.data, p2.data))
.is_none()
.any(|p2| data_equiv.data_equiv(p1.data, p2.data))
})
.collect::<Vec<_>>();

Expand Down

0 comments on commit 05b9ca9

Please sign in to comment.