Skip to content

Commit

Permalink
docs: tag non-rust code blocks as such instead of ignoring them
Browse files Browse the repository at this point in the history
  • Loading branch information
tormol committed Oct 16, 2016
1 parent 330a376 commit 0ba9f4b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/app/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ impl<'a, 'b> App<'a, 'b> {
///
/// The above example displays the following help message
///
/// ```ignore
/// ```text
/// cust-ord
///
/// USAGE:
Expand Down Expand Up @@ -1087,7 +1087,7 @@ impl<'a, 'b> App<'a, 'b> {
///
/// Next, we set up our `Cargo.toml` to use a `build.rs` build script.
///
/// ```ignore
/// ```toml
/// # Cargo.toml
/// build = "build.rs"
///
Expand Down
2 changes: 1 addition & 1 deletion src/args/arg_matches.rs
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ impl<'a> ArgMatches<'a> {
/// Given the above fictional subcommand hierarchy, valid runtime uses would be (not an all
/// inclusive list, and not including argument options per command for brevity and clarity):
///
/// ```ignore
/// ```sh
/// $ git clone url
/// $ git push origin path
/// $ git add ref local
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@
//!
//! If you were to compile any of the above programs and run them with the flag `--help` or `-h` (or `help` subcommand, since we defined `test` as a subcommand) the following would be output
//!
//! ```ignore
//! ```text
//! $ myprog --help
//! My Super Program 1.0
//! Kevin K. <[email protected]>
Expand Down Expand Up @@ -368,7 +368,7 @@
//!
//! If contributing, you can run the tests as follows (assuming you're in the `clap-rs` directory)
//!
//! ```ignore
//! ```sh
//! $ cargo test && make -C clap-tests test
//! $ cargo test --features yaml
//!
Expand Down

0 comments on commit 0ba9f4b

Please sign in to comment.