File tree 1 file changed +14
-14
lines changed 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -1218,6 +1218,20 @@ filename = "007bar"
1218
1218
path = " src/main.rs"
1219
1219
```
1220
1220
1221
+ ### scrape-examples
1222
+
1223
+ * RFC: [ #3123 ] ( https://github.com/rust-lang/rfcs/pull/3123 )
1224
+ * Tracking Issue: [ #9910 ] ( https://github.com/rust-lang/cargo/issues/9910 )
1225
+
1226
+ The ` -Z rustdoc-scrape-examples ` argument tells Rustdoc to search crates in the current workspace
1227
+ for calls to functions. Those call-sites are then included as documentation. The flag can take an
1228
+ argument of ` all ` or ` examples ` which configures which crate in the workspace to analyze for examples.
1229
+ For instance:
1230
+
1231
+ ```
1232
+ cargo doc -Z unstable-options -Z rustdoc-scrape-examples=examples
1233
+ ```
1234
+
1221
1235
## Stabilized and removed features
1222
1236
1223
1237
### Compile progress
@@ -1378,17 +1392,3 @@ Custom named profiles have been stabilized in the 1.57 release. See the
1378
1392
Support for generating a future-incompat report has been stabilized
1379
1393
in the 1.59 release. See the [ future incompat report chapter] ( future-incompat-report.md )
1380
1394
for more information.
1381
-
1382
- ### scrape-examples
1383
-
1384
- * RFC: [ #3123 ] ( https://github.com/rust-lang/rfcs/pull/3123 )
1385
- * Tracking Issue: [ #9910 ] ( https://github.com/rust-lang/cargo/issues/9910 )
1386
-
1387
- The ` -Z rustdoc-scrape-examples ` argument tells Rustdoc to search crates in the current workspace
1388
- for calls to functions. Those call-sites are then included as documentation. The flag can take an
1389
- argument of ` all ` or ` examples ` which configures which crate in the workspace to analyze for examples.
1390
- For instance:
1391
-
1392
- ```
1393
- cargo doc -Z unstable-options -Z rustdoc-scrape-examples=examples
1394
- ```
You can’t perform that action at this time.
0 commit comments