We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e3e64d commit 7da5c76Copy full SHA for 7da5c76
src/build/mod.rs
@@ -582,10 +582,10 @@ mod constant_conversion {{
582
.chain(s.constants.iter().map(|c| c.constant))
583
.collect();
584
for s2 in systems.iter().filter(|s2| s2.name != s.name) {
585
- if s.from.iter().any(|&f| f == s2.name) && s2.from.iter().any(|&f| f == s.name) {
+ if s.from.contains(|&f| f == s2.name) && s2.from.contains(|&f| f == s.name) {
586
for c in constants1
587
.iter()
588
- .filter(|&c| !s.refl_blacklist.iter().any(|b| c == b))
+ .filter(|&c| !s.refl_blacklist.contains(|b| c == b))
589
{
590
write!(f, "
591
#[test]
0 commit comments