Rust 패키지의 문서를 작성.
cargo doc
과 유사하지만,rustdoc
에 옵션을 전달할 수 있음. 사용 가능한 모든 옵션은rustdoc --help
를 참조. 더 많은 정보: https://doc.rust-lang.org/cargo/commands/cargo-rustdoc.html.
rustdoc
에 옵션을 전달:cargo rustdoc -- {{rustdoc_옵션}}
cargo rustdoc -- --warn rustdoc::{{린트_이름}}
cargo rustdoc -- --allow rustdoc::{{린트_이름}}
cargo rustdoc --lib
cargo rustdoc --bin {{이름}}
cargo rustdoc --example {{이름}}
cargo rustdoc --test {{이름}}