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
After running this formatting, the next suggestion is
- fn test(); } fn test(); }
The final result seems to be correct, but should most likely be applied at once, not in two steps.
Additionally, removing the mod block causes the changes to look like this:
extern"C"{fntest();}
-extern "C" {fn test();}extern "C" { fn test();}
This change is idempotent, but I would expect the closing } to be moved to the next line (which is what happens if a whitespace is put in between the final ; and }).
The text was updated successfully, but these errors were encountered:
When formatting the following code,
The first diff suggested by
rustfmt
isAfter running this formatting, the next suggestion is
The final result seems to be correct, but should most likely be applied at once, not in two steps.
Additionally, removing the
mod
block causes the changes to look like this:This change is idempotent, but I would expect the closing
}
to be moved to the next line (which is what happens if a whitespace is put in between the final;
and}
).The text was updated successfully, but these errors were encountered: