mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
Comply with clippy
This commit is contained in:
parent
09aad833d5
commit
f7491cd9e9
1 changed files with 1 additions and 3 deletions
|
@ -269,9 +269,7 @@ fn type_to_docs(type_annotation: ast::TypeAnnotation) -> Option<TypeAnnotation>
|
|||
}
|
||||
}
|
||||
|
||||
fn record_field_to_doc<'a>(
|
||||
field: ast::AssignedField<'a, ast::TypeAnnotation>,
|
||||
) -> Option<RecordField> {
|
||||
fn record_field_to_doc(field: ast::AssignedField<'_, ast::TypeAnnotation>) -> Option<RecordField> {
|
||||
match field {
|
||||
AssignedField::RequiredValue(name, _, type_ann) => {
|
||||
type_to_docs(type_ann.value).map(|type_ann_docs| RecordField {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue