4 ms·
Yes, the macros parse the string at compiletime and generate code that does the formatting as given by them. Here is an example for how the code would look like
by kimundi 5y ago
Yes, the macros parse the string at compiletime and generate code that does the formatting as given by them. Here is an example for how the code would look like expanded: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=1956e05cb7ffc42075424024dca301d7 https://play.rust-lang.org/?version=stable&mode=debug&editio...