add macro for .next().unwrap()
This commit is contained in:
1 parent
9f353660f1
commit
1670ffc8d7
1 file changed
+6
@@ -16,3 +16,9 @@ pub macro p {
|
|||||||
$s.parse().unwrap()
|
$s.parse().unwrap()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub macro n {
|
||||||
|
($s: expr) => {
|
||||||
|
$s.next().unwrap()
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user