Is it possible to let rustfmt LEARN macro_rules syntax

⚓ Rust    📅 2025-06-14    👤 surdeus    👁️ 5      

surdeus

Warning

This post was published 62 days ago. The information described in this article may have changed.

As far as i know we can use macro as DSL

And rustfmt stop format things in {}

and macro_rules is just like match with special syntax

So can we let rustfmt learn how to format DSL from MacroMatcher

PS. I think tt will not fmt

4 posts - 3 participants

Read full topic

🏷️ rust_feed