Skip to content

Scrape examples config in rustdoc book is wrong #110711

Closed
@robagar

Description

@robagar

Crate name

Tello-edu

Build failure link

https://docs.rs/crate/tello-edu/0.5.2/builds/798419

Additional details

The rustdoc book says use

[package.metadata.docs.rs]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples=examples"]

...but my build failed with error

[INFO] [stderr] error: flag -Zrustdoc-scrape-examples does not take a value, found: `examples`

Metadata

Metadata

Assignees

Labels

A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-bugCategory: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions