Rust: simplify rust doc test annotation

This commit is contained in:
Paolo Tranquilli
2024-09-09 08:59:17 +02:00
parent 928f3f11f1
commit 3cd8aaf4b0
6 changed files with 20 additions and 37 deletions

View File

@@ -203,10 +203,3 @@ def split_doc(doc):
while trimmed and not trimmed[0]:
trimmed.pop(0)
return trimmed
@dataclass
class FunctionInfo:
name: str
params: dict[str, str]
return_type: str