aboutsummaryrefslogtreecommitdiff
path: root/vendor/clap/src/_cookbook/cargo_example_derive.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/clap/src/_cookbook/cargo_example_derive.rs')
-rw-r--r--vendor/clap/src/_cookbook/cargo_example_derive.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/clap/src/_cookbook/cargo_example_derive.rs b/vendor/clap/src/_cookbook/cargo_example_derive.rs
new file mode 100644
index 0000000..d49f956
--- /dev/null
+++ b/vendor/clap/src/_cookbook/cargo_example_derive.rs
@@ -0,0 +1,7 @@
+//! # Example: cargo subcommand (Derive API)
+//!
+//! ```rust
+#![doc = include_str!("../../examples/cargo-example-derive.rs")]
+//! ```
+//!
+#![doc = include_str!("../../examples/cargo-example-derive.md")]