Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: correct
cargo doc
command in contrib guide (#4933)
The command to build the documentation locally provided in the Contribution Guide did not work for all crates in the project workspace. Specifically, to build the docs for `tokio-stream` the flag `--cfg docsrs` needs to be in the environment variable `RUSTFLAGS` in addition to being in `RUSTDOCFLAGS`. Additionally, there was text describing that the docs cannot be built from the root of the workspace with a link to rust-lang/cargo#9274. That issue has since been closed as complete and the listed commands do now work from the root of the workspace. As such, that text has been removed.
- Loading branch information