Skip to content

Commit b6e0fa4

Browse files
committed
Auto merge of #147 - hannobraun:interrupt-macro, r=japaric
Change type of `$lty` argument to `ty` `ident` is not sufficient, as it won't allow something like `::module::Type`.
2 parents b5756e8 + b78b352 commit b6e0fa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ pub fn interrupt(
359359
#[macro_export]
360360
macro_rules! interrupt {
361361
($NAME:ident, $path:path, locals: {
362-
$($lvar:ident:$lty:ident = $lval:expr;)*
362+
$($lvar:ident:$lty:ty = $lval:expr;)*
363363
}) => {
364364
#[allow(non_snake_case)]
365365
mod $NAME {

0 commit comments

Comments
 (0)