Skip to content

Commit

Permalink
Merge pull request #4275 from wolthom/patch-1
Browse files Browse the repository at this point in the history
Fix inline code snippet typos
  • Loading branch information
epage committed Sep 28, 2022
2 parents 5d99204 + 0f45ac7 commit cad5cde
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/_derive/_tutorial.rs
Expand Up @@ -74,7 +74,7 @@
//! ```
#![doc = include_str!("../../examples/tutorial_derive/03_03_positional.md")]
//!
//! Note that the default [`ArgAction`][crate::ArgAction]` is [`Set`][crate::ArgAction::Set]. To
//! Note that the default [`ArgAction`][crate::ArgAction] is [`Set`][crate::ArgAction::Set]. To
//! accept multiple values, use [`Append`][crate::ArgAction::Append]:
//! ```rust
#![doc = include_str!("../../examples/tutorial_derive/03_03_positional_mult.rs")]
Expand All @@ -97,7 +97,7 @@
//! ```
#![doc = include_str!("../../examples/tutorial_derive/03_02_option.md")]
//!
//! Note that the default [`ArgAction`][crate::ArgAction]` is [`Set`][crate::ArgAction::Set]. To
//! Note that the default [`ArgAction`][crate::ArgAction] is [`Set`][crate::ArgAction::Set]. To
//! accept multiple occurrences, use [`Append`][crate::ArgAction::Append]:
//! ```rust
#![doc = include_str!("../../examples/tutorial_derive/03_02_option_mult.rs")]
Expand All @@ -115,7 +115,7 @@
//! ```
#![doc = include_str!("../../examples/tutorial_derive/03_01_flag_bool.md")]
//!
//! Note that the default [`ArgAction`][crate::ArgAction]` for a `bool` field is
//! Note that the default [`ArgAction`][crate::ArgAction] for a `bool` field is
//! [`SetTrue`][crate::ArgAction::SetTrue]. To accept multiple values, use
//! [`Append`][crate::ArgAction::Append]:
//!
Expand Down Expand Up @@ -155,7 +155,7 @@
//! ## Validation
//!
//! An appropriate default parser/validator will be selected for the field's type. See
//! [`value_parser!][crate::value_parser!] for more details.
//! [`value_parser!`][crate::value_parser!] for more details.
//!
//! ### Enumerated values
//!
Expand Down

0 comments on commit cad5cde

Please sign in to comment.