Like the title says: A very small change adding match and call expressions to the Rust ruleset. match is like a switch statement on steroids, so it makes sense that it should have the same effect on cognitive complexity as a switch statement. Hope I'm not missing something and these were intentionally left out 🙂
Like the title says: A very small change adding match and call expressions to the Rust ruleset.
match
is like a switch statement on steroids, so it makes sense that it should have the same effect on cognitive complexity as a switch statement. Hope I'm not missing something and these were intentionally left out 🙂