File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
turbopack/crates/turbo-tasks-macros/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ impl TurboFn<'_> {
335
335
return ( arg. clone ( ) , None ) ;
336
336
}
337
337
let ( FnArg :: Receiver ( Receiver { ty, .. } ) | FnArg :: Typed ( PatType { ty, .. } ) ) = arg;
338
- let Cow :: Owned ( expanded_ty) = expand_task_input_type ( & ty) else {
338
+ let Cow :: Owned ( expanded_ty) = expand_task_input_type ( ty) else {
339
339
// common-case: skip if no type conversion is needed
340
340
return ( arg. clone ( ) , None ) ;
341
341
} ;
@@ -421,7 +421,7 @@ impl TurboFn<'_> {
421
421
422
422
// convert an argument of type `FromTaskInput<T>::TaskInput` into `T`.
423
423
// essentially, replace any instances of `Vc` with `ResolvedVc`.
424
- let pat = ( & * pat_type. pat ) . clone ( ) ;
424
+ let pat = ( * pat_type. pat ) . clone ( ) ;
425
425
let transform_stmt = transform_from_task_input ( arg_id, pat) ;
426
426
427
427
( arg, Some ( transform_stmt) )
You can’t perform that action at this time.
0 commit comments