Skip to content

Commit 2eed36f

Browse files
committed
Remove unneeded return statement
1 parent 54ae494 commit 2eed36f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crates/next-custom-transforms/src/transforms/server_actions.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ impl<C: Comments> ServerActions<C> {
314314
.into(),
315315
})));
316316

317-
return Box::new(register_action_expr.clone());
317+
Box::new(register_action_expr.clone())
318318
}
319319

320320
fn maybe_hoist_and_create_proxy_for_server_action_function(
@@ -434,7 +434,7 @@ impl<C: Comments> ServerActions<C> {
434434
.into(),
435435
})));
436436

437-
return Box::new(register_action_expr);
437+
Box::new(register_action_expr)
438438
}
439439

440440
fn maybe_hoist_and_create_proxy_for_cache_arrow_expr(
@@ -597,7 +597,7 @@ impl<C: Comments> ServerActions<C> {
597597
.into(),
598598
})));
599599

600-
return Box::new(register_action_expr.clone());
600+
Box::new(register_action_expr.clone())
601601
}
602602

603603
fn maybe_hoist_and_create_proxy_for_cache_function(
@@ -729,7 +729,7 @@ impl<C: Comments> ServerActions<C> {
729729
.into(),
730730
})));
731731

732-
return Box::new(register_action_expr);
732+
Box::new(register_action_expr)
733733
}
734734
}
735735

0 commit comments

Comments
 (0)