Question about documentation

I maintain crate rstats

I notice that only comments in (header file where trait and functions prototypes go) get included in

I have more detailed comments introduced by /// before every function implementation in the implementation source files but they do not seem to be generated by cargo doc and accessible in Is there any way of forcing this to happen? I do not like the idea of writing lots of doc comments for nothing.

I haven't checked every method, but I see documentation for a number of items on

Yes, those are only the briefest outline comments from Where have the comments from the implementation gone?

I'm not positive if this is what you're referring to, but the implementation of traits is collapsed by default. Click the [+] to the left of the trait name.

1 Like

Ah, so that is the trick, brilliant! :grinning: