Skip to content

Commit 82f07bd

Browse files
committed
simplify some pattern matching
1 parent b440a15 commit 82f07bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

turbopack/crates/turbo-tasks-macros/src/value_trait_macro.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ pub fn value_trait(args: TokenStream, input: TokenStream) -> TokenStream {
146146
// Add a dummy implementation that derefences the box and delegates to the
147147
// actual implementation.
148148
dynamic_trait_fns.push(match (is_vc_receiver, sig.asyncness.is_some()) {
149-
(true, true) | (true, false) => quote! { #item },
149+
(true, _) => quote! { #item },
150150
(false, true) => {
151151
quote! {
152152
#sig {

0 commit comments

Comments
 (0)