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
This was discussed in rust-lang/style-team#72 with the conclusion that the style guide recommends doc comments before attributes, with an option in rustfmt to do the reordering that is off by default.
I did not find an existing option that does this, nor an issue to track, so here we go. :)
Expected diff:
- #[cfg(cfg)]
/// doc
+ #[cfg(cfg)]
struct S;
webmaster128, ablakey, dbdr, ndmitchell, ctaggart and 1 more