A stand alone main.rs with no complexity, doesn’t appear to be generating the documentation in the same way as more complex programs that call other modules… or I’m confused from trying to get it to work.
main.rs which calls cargo.io crates sees the doc made for those other crates but then nothing that acknowledges the header /// or /// fn main() header detail.
I can force the main.rs header using instead //! so that the crates index.html exists, though that //! is different from the usual /// for main.rs with modules. Still, even once the main.rs header is acknowledged, the fn main() description still doesn’t appear and won’t allow the same //! fix. I don’t know, if that suggests only functions within impl are documented… but surprised if that’s the case, as I would have thought it’s useful to have all fns listed and ideally documented.
tldr; should /// not work on top a stand alone main.rs? Are fn outside impl not documented; or otherwise why do the comments for those not appear in a standalone main.rs?