mirror of https://github.com/astral-sh/ruff
## Summary Theoretically this should be slightly more performant, since the `class.is_known()` calls each do a separate Salsa lookup, which we can avoid if we do a single `match` on the value of `class.known()`. It also ends up being two lines less code overall! ## Test Plan `cargo test -p red_knot_python_semantic` |
||
|---|---|---|
| .. | ||
| resources | ||
| src | ||
| tests | ||
| Cargo.toml | ||
| build.rs | ||
| mdtest.py | ||
| mdtest.py.lock | ||