Skip to content

Commit 20b140d

Browse files
committed
fix compilation on stable
1 parent d5b806a commit 20b140d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,8 @@ pub fn transitions(input: proc_macro::TokenStream) -> syn::export::TokenStream {
699699

700700
let mut type_arguments = HashSet::new();
701701
for t in transitions.transitions.iter() {
702-
type_arguments.extend(type_args(&t.message).drain());
702+
let mut args = type_args(&t.message);
703+
type_arguments.extend(args.drain());
703704
}
704705

705706
let type_arguments = reorder_type_arguments(type_arguments);

0 commit comments

Comments
 (0)