Skip to content

Commit

Permalink
Fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Jun 26, 2024
1 parent fabb952 commit a6057c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,7 @@ impl Builder {
// is used by eg. serde -> serde_derive. If not filtering targets this would mean that
// serde_derive and all of its dependencies would be pulled into the graph, even if the
// only edge was the cfg(any()).

// We can't just do an eval and always return true, as that then would cause any
// not() expressions to evaluate to false
if expr.predicates().count() == 0 && !expr.eval(|_| true) {
Expand Down

0 comments on commit a6057c1

Please sign in to comment.