Documenting and files in examples directory

⚓ rust    📅 2025-05-28    👤 surdeus    👁️ 4      

surdeus

Warning

This post was published 31 days ago. The information described in this article may have changed.

I am using

cargo --version
cargo 1.87.0 (99624be96 2025-05-06)

The rust book

suggests using

cargo doc -Zunstable-options -Zrustdoc-scrape-examples

but when I try to do this I get

error: the `-Z` flag is only accepted on the nightly channel of Cargo, but this is the `stable` channel
See https://doc.rust-lang.org/book/appendix-07-nightly-rust.html for more information about Rust release channels.

2 posts - 2 participants

Read full topic

🏷️ rust_feed