fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1macro_rules! morestuff { 2 ( 3 <= "space between most kinds of tokens" : 1 $x + @ :: >>= 'static 4 "no space inside paren or bracket" : (2 a) [2 a] $(2 $a:tt)* 5 "space inside curly brace" : { 2 a } 6 "no space inside empty delimiters" : () [] {} 7 "no space before comma or semicolon" : a, (a), { a }, a; [T; 0]; 8 "the three repetition specifiers" : $(@)*, $(@)+, $(@)? 9 "repetition separators" : $(@)|*, $(@)|+, $(@)==*, $(@)static* 10 "plus or star cannot be a repetition separator" : $(@)+ * $(@)* + 11 "no space between ident and paren" : let _ = f(0) + f[0] + Struct {}; 12 "space between keyword and paren" : return (a,) & for x in (..) 13 "some special case keywords" : pub(crate), fn() -> u8, Self(0, 0) => 14 ) => { ... }; 15}