You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the time being, I've managed to work around it by creating a "hello, world" src/main.rs, running cargo doc --open, and removing the second main.rs. I can reliably generate documentation after this.
Hmm. I just realised doc comments in src/bin/main.rs don't get rendered, even if cargo doc --open does something. Perhaps documentation generation for crates with multiple binaries is more broken than it first appeared? It seems like it should be supported.
Specifically, it fails when:
src/bin/foo.rs
(as you would for a crate with multiple binaries).To reproduce:
The text was updated successfully, but these errors were encountered: