Skip to content

Commit

Permalink
rustdoc: format struct methods like rustfmt
Browse files Browse the repository at this point in the history
* ignore signatures 80 characters or shorter
* otherwise, put arguments and return arrow on their own line, indented
  to the opening parenthesis

in doing this, most of a plain-text output has been written for rustdoc,
accessible through "alternate" Display printing: "{:#}"
  • Loading branch information
QuietMisdreavus committed Sep 26, 2016
1 parent fccfc53 commit 2a274e7
Show file tree
Hide file tree
Showing 2 changed files with 320 additions and 100 deletions.
Loading

0 comments on commit 2a274e7

Please sign in to comment.