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 two PRs backlinked above made me think that perhaps we should rustfmt all code-like snippets included in rustdoc's output. I am not 100% sure, since the snippets in API docs aren't always like real code and don't always serve the same function. But since it's generally supposed to look like Rust code, I guess it's reasonable to apply the same style to it as to real code.
Activity
hanna-kruppe commentedon Sep 23, 2016
The two PRs backlinked above made me think that perhaps we should rustfmt all code-like snippets included in rustdoc's output. I am not 100% sure, since the snippets in API docs aren't always like real code and don't always serve the same function. But since it's generally supposed to look like Rust code, I guess it's reasonable to apply the same style to it as to real code.
Mark-Simulacrum commentedon May 13, 2017
Today this looks much better. I think this is effectively "fixed".