in this code snippet
macro_rules! calculate {
(eval $e:expr) => {
{
let val: usize = $e; // Force types to be unsigned integers
println!("{} = {}", stringify!{$e}, val);
}
};
}
what is the implication of using curly braces with stringify! ? Looks like those do not change program behaviour in any way, compared to normal parentheses.
in this code snippet
what is the implication of using curly braces with
stringify!? Looks like those do not change program behaviour in any way, compared to normal parentheses.