We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e3e64d commit d1c2f2cCopy full SHA for d1c2f2c
src/build/mod.rs
@@ -582,11 +582,8 @@ 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) {
586
- for c in constants1
587
- .iter()
588
- .filter(|&c| !s.refl_blacklist.iter().any(|b| c == b))
589
- {
+ if s.from.contains(s2.name) && s2.from.contains(s.name) {
+ for c in constants1.iter().filter(|&c| !s.refl_blacklist.contains(c)) {
590
write!(f, "
591
#[test]
592
#[allow(non_snake_case)]
0 commit comments