mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +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)]
|
#[inline(always)]
|
||||||
fn record_type<'a>(min_indent: u16) -> impl Parser<'a, TypeAnnotation<'a>> {
|
fn record_type<'a>(min_indent: u16) -> impl Parser<'a, TypeAnnotation<'a>> {
|
||||||
use crate::type_annotation::TypeAnnotation::*;
|
use crate::type_annotation::TypeAnnotation::*;
|
||||||
|
type Fields<'a> = Vec<'a, Located<AssignedField<'a, TypeAnnotation<'a>>>>;
|
||||||
map!(
|
map!(
|
||||||
and!(
|
and!(
|
||||||
record_without_update!(
|
record_without_update!(
|
||||||
|
@ -168,7 +168,7 @@ fn record_type<'a>(min_indent: u16) -> impl Parser<'a, TypeAnnotation<'a>> {
|
||||||
),
|
),
|
||||||
|((fields, final_comments), ext): (
|
|((fields, final_comments), ext): (
|
||||||
(
|
(
|
||||||
Vec<'a, Located<AssignedField<'a, TypeAnnotation<'a>>>>,
|
Fields<'a>,
|
||||||
&'a [CommentOrNewline<'a>]
|
&'a [CommentOrNewline<'a>]
|
||||||
),
|
),
|
||||||
Option<&'a Located<TypeAnnotation<'a>>>,
|
Option<&'a Located<TypeAnnotation<'a>>>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue