about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-04-27 21:34:17 +0200
committerGitHub <noreply@github.com>2023-04-27 21:34:17 +0200
commit790912ac769eca2cab9d19c486f728b9b81319ee (patch)
tree44d1dfca1085948b86c28d3233b80b85b716e3f1 /src
parent50ccd17db686be2f411dce4a46119c39ccc59343 (diff)
parentdb0bb92ff1fe4c16330d0465041b1399c5bc5fb2 (diff)
Rollup merge of #110905 - john-h-k:docs/cargo-flags, r=jyn514
Remove invalid value from scraped-examples.md

Fixes #110711
Diffstat (limited to 'src')
-rw-r--r--src/doc/rustdoc/src/scraped-examples.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustdoc/src/scraped-examples.md b/src/doc/rustdoc/src/scraped-examples.md
index d75f6d522e8..7197e01c8e3 100644
--- a/src/doc/rustdoc/src/scraped-examples.md
+++ b/src/doc/rustdoc/src/scraped-examples.md
@@ -24,14 +24,14 @@ Then this code snippet will be included in the documentation for `a_func`. This
 This feature is unstable, so you can enable it by calling Rustdoc with the unstable `rustdoc-scrape-examples` flag:
 
 ```bash
-cargo doc -Zunstable-options -Zrustdoc-scrape-examples=examples
+cargo doc -Zunstable-options -Zrustdoc-scrape-examples
 ```
 
 To enable this feature on [docs.rs](https://docs.rs), add this to your Cargo.toml:
 
 ```toml
 [package.metadata.docs.rs]
-cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples=examples"]
+cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
 ```