On 08/26/2013 07:07 AM, Niko Matsakis wrote:
I find I have surprisingly strong opinions about this. In particular,
I don't care for any of the options. Rather I prefer option D, which
looks like:

     fn foo() {
         /*!
          * Summary
          *
          * Body text
          */
     }

I like this too in theory. There was some reason I never did it though - probably emacs mode was treating it incorrectly or something. That's the same reason I made all those awful-looking doc comments like

/** Foo

bar
*/

I tend to just do whatever is auto-formatted correctly.

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to