Skip to content

Commit 09cd590

Browse files
committed
fix Spawn!() helper macro
1 parent 2c98136 commit 09cd590

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ macro_rules! Spawn {
372372
)*
373373
) => {{
374374
// Validate each key at compile time using nested macro
375-
validate_spawn_args!($($key),*);
375+
$crate::validate_spawn_args!($($key),*);
376376

377377
// Your implementation here
378378
}};
@@ -386,7 +386,7 @@ macro_rules! Spawn {
386386
)*
387387
) => {{
388388
// Validate each key at compile time using nested macro
389-
validate_spawn_args!($($key),*);
389+
$crate::validate_spawn_args!($($key),*);
390390

391391
// Your implementation here
392392
}};

0 commit comments

Comments
 (0)