ruff/crates/ruff_python_semantic
Charlie Marsh 56476dfd61
Use `matches!` for `CallPath` comparisons (#5099)
## Summary

This PR consistently uses `matches! for static `CallPath` comparisons.
In some cases, we can significantly reduce the number of cases or
checks.

## Test Plan

`cargo test `
2023-06-14 17:06:34 -04:00
..
src Use `matches!` for `CallPath` comparisons (#5099) 2023-06-14 17:06:34 -04:00
Cargo.toml Use consistent `Cargo.toml` metadata in all crates (#5015) 2023-06-12 00:02:40 +00:00