Skip to content

Commit

Permalink
clippy and fmt issues
Browse files Browse the repository at this point in the history
  • Loading branch information
xunilrj committed Nov 11, 2024
1 parent 3702723 commit 386909e
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ fn type_check_transmute(
span,
}));
}

let src_type = ctx
.resolve_type(
handler,
Expand Down Expand Up @@ -201,7 +201,11 @@ fn type_check_transmute(
let ctx = ctx
.by_ref()
.with_help_text("")
.with_type_annotation(engines.te().insert(engines, (&*arg_type).clone(), type_arguments[0].span.source_id()));
.with_type_annotation(engines.te().insert(
engines,
(*arg_type).clone(),
type_arguments[0].span.source_id(),
));
ty::TyExpression::type_check(handler, ctx, &arguments[0]).unwrap()
};

Expand Down

0 comments on commit 386909e

Please # to comment.