Generate crate api doc

Hello, I'm getting an error while generating documentation for mio crate. I have this directory C:\Users\admin.cargo\registry\src\\ where all crates downloaded are stored, I changed the directory to mio-0.6.22, and rustdoc src/ I get this error (can't find crate for net2 extern crate net2) on the root directory of crates there is a folder net2-0.2.34. Is there another way to get crate API Doc offline. thank you.

Can you paste the verbose compiler output (cargo doc --verbosr) here? That way we can see the exact error and it'll include things like paths and version numbers.

A sanity check would be to check out the mio repository locally and run cargo doc --open there.

@Michael-F-Bryan Thank you it worked

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.