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