I found the comments about which sort of block comment to use and so on a little confusing. For example, the block example is not a doc comment, so it seems out of scope for this RFC. In general, formatting issues seem less important than guidelines that affect the structure of documentation or what it will look like after rustdoc (in other words, iiuc, the aim of this RFC is to ensure that rustdoc output across projects follows consistent conventions, not the source itself).
I may be alone in this, but I strongly prefer inner comments for documentation, and I strongly strongly prefer /*! */ to //!. Hence I would write something like:
fn foo() {
/*!
* Comment
*/
}
My reasoning is that, when reading the raw code, I want to see the fn name and signature first, and read the detailed comments later. Therefore, I prefer an inner comment. It also means the comment is indented inside of the thing it applies to. You could argue for using //! except that it provokes a “OH MY EYES MY EYES” reaction for me, particularly when repeating across multiple lines. Unfortunately, there are various cases where inner comments can’t be used (commenting fields in a struct, for example), so I could imagine preferring to always use /// for consistency.
Like brson, I prefer non-inline links because they are easier to read in the raw format. I don’t quite understand your comment re: footnotes – are you just saying that the raw notation doesn’t resemble the HTML output?