mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Fmt and clippy
This commit is contained in:
parent
3c10ad2a9f
commit
a38f1d1e8d
5 changed files with 6 additions and 4 deletions
|
@ -739,6 +739,7 @@ fn append_expect_definition<'a>(
|
|||
defs.push(arena.alloc(loc_def));
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn append_type_definition<'a>(
|
||||
arena: &'a Bump,
|
||||
defs: &mut Vec<'a, &'a Loc<Def<'a>>>,
|
||||
|
@ -941,6 +942,7 @@ enum TypeKind {
|
|||
Opaque,
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn finish_parsing_alias_or_opaque<'a>(
|
||||
min_indent: u32,
|
||||
options: ExprParseOptions,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::ast::{TypeHeader, AssignedField, Pattern, Tag, TypeAnnotation};
|
||||
use crate::ast::{AssignedField, Pattern, Tag, TypeAnnotation, TypeHeader};
|
||||
use crate::blankspace::{space0_around_ee, space0_before_e, space0_e};
|
||||
use crate::keyword;
|
||||
use crate::parser::{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue