原书出处
The Rust Programming Language(第2版)
14 深入 Cargo 与 Crates.io Publishing a Crate to Crates.io
Adding example code blocks in your documentation comments can help demonstrate how to use your library, and doing so has an additional bonus: running cargo test will run the code examples in your documentation as tests! Nothing is better than documentation with examples. But nothing is worse than examples that don’t work because the code has changed since the documentation was written.
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/The Rust Programming Language(第2版)/_epub-src/c14.xhtml
EPUB SHA-256:610e9a4ca266a389faba5ffed033dc4bcae1c910c6259ea8ab73a6e93fbb9374