Skip to content

Commit 03db199

Browse files
committed
Fix kernel macro config parsing
1 parent a8bc0d4 commit 03db199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust-cuda-derive/src/kernel/wrapper/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ impl syn::parse::Parse for KernelConfig {
2020
let args: syn::Ident = input.parse()?;
2121
let _comma: syn::token::Comma = input.parse()?;
2222
let ptx: syn::Ident = input.parse()?;
23-
let _comma: Option<syn::Ident> = input.parse()?;
23+
let _comma: Option<syn::token::Comma> = input.parse()?;
2424
let _gt_token: syn::token::Gt = input.parse()?;
2525
let _for: syn::token::For = input.parse()?;
2626
let launcher: syn::Ident = input.parse()?;

0 commit comments

Comments
 (0)