Currently, the following code does not work, leading to infinite recursion during macro expansion:
static_detour! {
static Test: fn(i32,) -> i32;
}
However, it is legal for lists to have trailing commas in Rust:
type Test = fn(i32,) -> i32;
... and this is even recommended when the lists span across multiple lines. Therefore, this should be a nice-to-have feature.
Currently, the following code does not work, leading to infinite recursion during macro expansion:
However, it is legal for lists to have trailing commas in Rust:
... and this is even recommended when the lists span across multiple lines. Therefore, this should be a nice-to-have feature.