You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The format! macro is now properly formatted in the latest version.
Considering a macro in rust effectively maps a stream of tokens to a new stream of tokens, there is no straightforward way to support formatting arbitrary macros (as they can take a self-made syntax as input).
This library depends on prettyplease for formatting rust source code. Feel free to make an issue there.
Currently, leptosfmt makes really strange changes to the "arguments" passed to macros that look like functions:
The problem becomes much worse when these macros that look like functions have complex code, for example:
I think it would make sense to ignore anything inside a macro that looks like a function.
The text was updated successfully, but these errors were encountered: