Skip to content

Commit 67c82c8

Browse files
committed
fmt and clippy issues
1 parent 2dde5fb commit 67c82c8

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

sway-core/src/semantic_analysis/ast_node/expression/intrinsic_function.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,11 @@ fn type_check_enum_variants_values(
200200

201201
let _value_id = match first_argument_typed_expr.expression {
202202
ty::TyExpressionVariant::Literal(Literal::U64(3)) => 3,
203-
_ => return Err(handler.emit_err(CompileError::InvalidArgument { span: first_argument_typed_expr.span })),
203+
_ => {
204+
return Err(handler.emit_err(CompileError::InvalidArgument {
205+
span: first_argument_typed_expr.span,
206+
}))
207+
}
204208
};
205209

206210
let arguments = vec![first_argument_typed_expr];

0 commit comments

Comments
 (0)