From 63a4981aec6c3baf27b4d2ca4b179ec3fdabbffd Mon Sep 17 00:00:00 2001 From: Kyllingene Date: Sat, 6 Apr 2024 11:26:51 -0700 Subject: [PATCH] Added single line to macro docs --- Cargo.toml | 2 +- src/macros.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 8327dc1..c1c986f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sarge" -version = "7.2.0" +version = "7.2.1" edition = "2021" authors = ["Kyllingene"] diff --git a/src/macros.rs b/src/macros.rs index d17bd44..f3c6f72 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -192,6 +192,8 @@ macro_rules! __var_tag { /// place the default on an `#err` argument, in which case it will become /// `Result`. /// +/// You may not place defaults on `#ok` arguments. +/// /// # Example /// /// ```