Unleash macro 2.0 in hightlight and more
This commit is contained in:
@@ -129,6 +129,16 @@ macro_rules! keyword_frag {
|
||||
($type:ty) => ($type)
|
||||
}
|
||||
|
||||
macro with_args($i:ident) {
|
||||
$i
|
||||
}
|
||||
|
||||
macro without_args {
|
||||
($i:ident) => {
|
||||
$i
|
||||
}
|
||||
}
|
||||
|
||||
// comment
|
||||
fn main() {
|
||||
println!("Hello, {}!", 92);
|
||||
|
||||
Reference in New Issue
Block a user