Why macro ignore double slash
⚓ Rust 📅 2025-08-07 👤 surdeus 👁️ 11macro_rules! demo {
($($tok:tt)*) => {
stringify!($($tok)*)
};
}
fn main() {
println!("{}", demo!{
hi
// hello
});
}
i just notice this in python inline macro.so i am interested in why
2 posts - 2 participants
🏷️ Rust_feed