From 0f45ac723538aaf1f8c87d302a30b703a271d966 Mon Sep 17 00:00:00 2001 From: Wolf Thomsen Date: Wed, 28 Sep 2022 21:26:56 +0200 Subject: [PATCH] Fix inline code snippet typos There are a couple of typos where a backtick is missing / too much which results in slightly broken formatting. This PR should hopefully fix them. --- src/_derive/_tutorial.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/_derive/_tutorial.rs b/src/_derive/_tutorial.rs index 77f3502456e..ab8aa48bc17 100644 --- a/src/_derive/_tutorial.rs +++ b/src/_derive/_tutorial.rs @@ -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")] @@ -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")] @@ -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]: //! @@ -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 //!