Closed
Description
Section 2.0, describing invocation syntax, describes the fragment specifiers ident, expr, ty, pat, and block. It would be helpful if it mentioned path as well since that's used in the introductory example:
macro_rules! early_return(
($inp:expr $sp:path) => ( // invoke it like `(input_5 SpecialE)`
match $inp {
$sp(x) => { return x; }
_ => {}
}
);
)