about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Kelly <johnharrykelly@gmail.com>2023-04-27 17:21:45 +0100
committerJohn Kelly <johnharrykelly@gmail.com>2023-04-27 17:21:45 +0100
commitdb0bb92ff1fe4c16330d0465041b1399c5bc5fb2 (patch)
tree827ed632701d4ac8cac45a15ec2c995832ae9503
parent6ce22733b973355573efd1e6294e585460e90e17 (diff)
downloadrust-db0bb92ff1fe4c16330d0465041b1399c5bc5fb2.tar.gz
rust-db0bb92ff1fe4c16330d0465041b1399c5bc5fb2.zip
Remove invalid value from scraped-examples.md
-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"]
 ```