Skip to content

Commit

Permalink
Fix macro.
Browse files Browse the repository at this point in the history
  • Loading branch information
entropylost committed Oct 6, 2023
1 parent 0a84858 commit 9e80971
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion luisa_compute_derive_impl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ impl Compiler {
#(self.#field_names.encode(encoder);)*
}
}
impl #impl_generics #runtime_path::AsKernelArg<#name #ty_generics> for #name #ty_generics #where_clause {
impl #impl_generics #runtime_path::AsKernelArg for #name #ty_generics #where_clause {
type Output = #name #ty_generics;
}
)
}
Expand Down

0 comments on commit 9e80971

Please sign in to comment.