Closed Deedasmi closed 6 years ago
Pressumably the merge has fixed this.
Nah, but the line numbers changed on we. Those entire blocks are the same. Your "contains" block does an equality check.
Lot easier to see in the latest commit:
Lines 136-138 and 140-142 are identical despite being under different conditions. Was that intentional or is it a bug?
Ups, that was indeed a bug, contains was meant to translate to .contains not ==, for some reason I had thought your pull request fixed that (my bad, I didn't look at it properly). Fixed it now
While running clippy on the receptor, it pointed out this:
Both of these blocks are the same. Is the second one supposed to be an 'in' or like comparison?