Rust: address review

This commit is contained in:
Paolo Tranquilli
2024-10-15 14:21:11 +02:00
parent 248eb7f00c
commit bd08bc7923
4 changed files with 41 additions and 10 deletions

View File

@@ -1741,13 +1741,6 @@ class _:
```
"""
class Callable(AstNode):
"""
A callable. Either a `Function` or a `ClosureExpr`.
"""
param_list: optional["ParamList"] | child
attrs: list["Attr"] | child
@annotate(Function, add_bases=[Callable])
class _:
param_list: drop