]> git.proxmox.com Git - rustc.git/blobdiff - src/doc/rustdoc/src/what-is-rustdoc.md
New upstream version 1.44.1+dfsg1
[rustc.git] / src / doc / rustdoc / src / what-is-rustdoc.md
index bbcacb7f3d5d9b05111fb1e2a1c52e105e2111c5..adcebc832bc0bb9c8640826a1eebfd3912eee24f 100644 (file)
@@ -78,8 +78,8 @@ $ cargo doc
 Internally, this calls out to `rustdoc` like this:
 
 ```bash
-$ rustdoc --crate-name docs srclib.rs -o <path>\docs\target\doc -L
-dependency=<path>docs\target\debug\deps
+$ rustdoc --crate-name docs src/lib.rs -o <path>/docs/target/doc -L
+dependency=<path>/docs/target/debug/deps
 ```
 
 You can see this with `cargo doc --verbose`.
@@ -128,4 +128,4 @@ Cargo currently does not understand standalone Markdown files, unfortunately.
 ## Summary
 
 This covers the simplest use-cases of `rustdoc`. The rest of this book will
-explain all of the options that `rustdoc` has, and how to use them.
\ No newline at end of file
+explain all of the options that `rustdoc` has, and how to use them.