mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
make clippy happy
This commit is contained in:
parent
d87b5bfd9f
commit
0d9e3aa07b
1 changed files with 2 additions and 2 deletions
|
@ -154,7 +154,7 @@ fn tag_type<'a>(min_indent: u16) -> impl Parser<'a, Tag<'a>> {
|
|||
#[inline(always)]
|
||||
fn record_type<'a>(min_indent: u16) -> impl Parser<'a, TypeAnnotation<'a>> {
|
||||
use crate::type_annotation::TypeAnnotation::*;
|
||||
|
||||
type Fields<'a> = Vec<'a, Located<AssignedField<'a, TypeAnnotation<'a>>>>;
|
||||
map!(
|
||||
and!(
|
||||
record_without_update!(
|
||||
|
@ -168,7 +168,7 @@ fn record_type<'a>(min_indent: u16) -> impl Parser<'a, TypeAnnotation<'a>> {
|
|||
),
|
||||
|((fields, final_comments), ext): (
|
||||
(
|
||||
Vec<'a, Located<AssignedField<'a, TypeAnnotation<'a>>>>,
|
||||
Fields<'a>,
|
||||
&'a [CommentOrNewline<'a>]
|
||||
),
|
||||
Option<&'a Located<TypeAnnotation<'a>>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue