Fix formatting

This commit is contained in:
Sam Mohr 2025-01-08 17:04:28 -08:00
parent 2150ee2219
commit 82b7279485
No known key found for this signature in database
GPG key ID: EA41D161A3C1BC99
2 changed files with 7 additions and 9 deletions

View file

@ -9,8 +9,8 @@ use roc_module::called_via::{BinOp, CalledVia};
use roc_module::ident::ModuleName;
use roc_parse::ast::Expr::{self, *};
use roc_parse::ast::{
AssignedField, Collection, Defs, ModuleImportParams, Pattern, ResultTryKind,
StrLiteral, StrSegment, ValueDef, WhenBranch,
AssignedField, Collection, Defs, ModuleImportParams, Pattern, ResultTryKind, StrLiteral,
StrSegment, ValueDef, WhenBranch,
};
use roc_problem::can::Problem;
use roc_region::all::{Loc, Region};
@ -114,8 +114,7 @@ fn new_op_call_expr<'a>(
}
PncApply(
&Loc {
value:
TrySuffix(fn_expr),
value: TrySuffix(fn_expr),
region: fn_region,
},
loc_args,

View file

@ -1,9 +1,8 @@
use crate::ast::{
AssignedField, Collection, CommentOrNewline, Defs, Expr, ExtractSpaces,
Implements, ImplementsAbilities, ImportAlias, ImportAsKeyword, ImportExposingKeyword,
ImportedModuleName, IngestedFileAnnotation, IngestedFileImport, ModuleImport,
ModuleImportParams, Pattern, Spaceable, Spaced, Spaces, SpacesBefore,
TypeAnnotation, TypeDef, TypeHeader, ValueDef,
AssignedField, Collection, CommentOrNewline, Defs, Expr, ExtractSpaces, Implements,
ImplementsAbilities, ImportAlias, ImportAsKeyword, ImportExposingKeyword, ImportedModuleName,
IngestedFileAnnotation, IngestedFileImport, ModuleImport, ModuleImportParams, Pattern,
Spaceable, Spaced, Spaces, SpacesBefore, TypeAnnotation, TypeDef, TypeHeader, ValueDef,
};
use crate::blankspace::{
loc_space0_e, require_newline_or_eof, space0_after_e, space0_around_ee, space0_before_e,