mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-12 03:12:04 +00:00
Update Rust toolchain to 1.89 (#19807)
This commit is contained in:
parent
b22586fa0e
commit
7dfde3b929
101 changed files with 234 additions and 200 deletions
|
@ -33,7 +33,7 @@ impl Ranged for IfElifBranch<'_> {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn if_elif_branches(stmt_if: &StmtIf) -> impl Iterator<Item = IfElifBranch> {
|
||||
pub fn if_elif_branches(stmt_if: &StmtIf) -> impl Iterator<Item = IfElifBranch<'_>> {
|
||||
iter::once(IfElifBranch {
|
||||
kind: BranchKind::If,
|
||||
test: stmt_if.test.as_ref(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue