]> git.proxmox.com Git - cargo.git/commitdiff
doc/manifest: add `cargo run --example`
authorAlex Burka <durka42+github@gmail.com>
Sun, 3 Jan 2016 02:04:17 +0000 (21:04 -0500)
committerAlex Burka <durka42+github@gmail.com>
Sun, 3 Jan 2016 02:04:17 +0000 (21:04 -0500)
Closes #2251. Should it be mentioned anywhere else as well?

src/doc/manifest.md

index 52c00c59e581c4c645abb27bec8b7f780f62c4e5..258ecf9f77e5a09c925a1a69640b295662db43a4 100644 (file)
@@ -419,6 +419,8 @@ They must compile as executables (with a `main()` function) and load in the
 library by using `extern crate <library-name>`. They are compiled when you run
 your tests to protect them from bitrotting.
 
+You can run individual examples with the command `cargo run --example <example-name>`.
+
 # Tests
 
 When you run `cargo test`, Cargo will: