Skip to content

Commit

Permalink
Remove unnecessary mut
Browse files Browse the repository at this point in the history
  • Loading branch information
jjcnn committed Mar 5, 2024
1 parent e0d6e19 commit 9570716
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2430,7 +2430,7 @@ mod tests {
expr: Expression,
type_annotation: TypeId,
) -> Result<ty::TyExpression, ErrorEmitted> {
let mut root_module = namespace::Root::from(namespace::Module::default());
let root_module = namespace::Root::from(namespace::Module::default());
let mut namespace = Namespace::init_root(root_module);
let ctx = TypeCheckContext::from_namespace(&mut namespace, engines)
.with_type_annotation(type_annotation);
Expand Down

0 comments on commit 9570716

Please sign in to comment.