mirror of https://github.com/astral-sh/ruff
## Summary Remove `Type::tuple` in favor of `TupleType::from_elements`, avoid a few intermediate `Vec`tors. Resolves an old [review comment](https://github.com/astral-sh/ruff/pull/14744#discussion_r1867493706). ## Test Plan New regression test for something I ran into while implementing this. |
||
|---|---|---|
| .. | ||
| resources/test/corpus | ||
| src | ||
| tests | ||
| Cargo.toml | ||