mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-15 08:00:46 +00:00
Upgrade to Rust 1.80 (#12586)
This commit is contained in:
parent
ee103ffb25
commit
138e70bd5c
29 changed files with 57 additions and 48 deletions
|
@ -785,7 +785,7 @@ impl AstNode for ast::StmtFunctionDef {
|
|||
|
||||
visitor.visit_parameters(parameters);
|
||||
|
||||
for expr in returns {
|
||||
if let Some(expr) = returns {
|
||||
visitor.visit_annotation(expr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue