Skip to content

Commit b94987c

Browse files
committed
make the code stop crashing
1 parent 01fb3a4 commit b94987c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ macro_rules! asn1 {
1414
asn1!(@field_name [$($parsed)* @type BOOLEAN @rust_type bool] [$($rest)*]);
1515
);
1616

17-
(@complete $name:ident $(, @name $field_name:ident @type $field_type:ident @rust_type $field_rust_type)*) => {
17+
(@complete $name:ident $(, @name $field_name:ident @type $field_type:ident @rust_type $field_rust_type:ty)*) => {
1818
struct $name {
1919
$(
2020
$field_name: $field_rust_type,

0 commit comments

Comments
 (0)