Index out of bounds panic in cargo doc --open
when building crate with no documentation
#10194
Labels
cargo doc --open
when building crate with no documentation
#10194
Problem
cargo doc --open
panics when ran in a crate without any crates with documentation.Steps
cargo init --lib
cargo doc --open
Possible Solution(s)
Cargo doc should print an error about not having any crates with documentation
Notes
It also errors with a crate with a binary with no docs, but I assume fixing one will fix the other.
Version
The text was updated successfully, but these errors were encountered: