File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -381,7 +381,7 @@ the same CSS rules as the official `light` theme.
381
381
` --check-theme ` flag, it discards all other flags and only performs the CSS rule
382
382
comparison operation.
383
383
384
- ### ` --crate-version ` : control the crate version
384
+ ## ` --crate-version ` : control the crate version
385
385
386
386
Using this flag looks like this:
387
387
@@ -418,9 +418,22 @@ Rustdoc only supports Rust source code and Markdown input formats. If the
418
418
file ends in ` .md ` or ` .markdown ` , ` rustdoc ` treats it as a Markdown file.
419
419
Otherwise, it assumes that the input file is Rust.
420
420
421
+ # Unstable command line arguments
422
+
421
423
## ` --nocapture `
422
424
423
425
When this flag is used with ` --test ` , the output (stdout and stderr) of your tests won't be
424
426
captured by rustdoc. Instead, the output will be directed to your terminal,
425
427
as if you had run the test executable manually. This is especially useful
426
428
for debugging your tests!
429
+
430
+ ## ` --check `
431
+
432
+ When this flag is supplied, rustdoc will type check and lint your code, but will not generate any
433
+ documentation or run your doctests.
434
+
435
+ Using this flag looks like:
436
+
437
+ ``` bash
438
+ rustdoc -Z unstable-options --check src/lib.rs
439
+ ```
You can’t perform that action at this time.
0 commit comments