From a71340c4868b0cfe5e1740d317949f348dc5926f Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 6 Jan 2023 10:59:10 -0500 Subject: [PATCH] Fix a rustdoc warning Fixes `warning: `cfg` is both a function and a macro` Signed-off-by: Colin Walters --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index f23cc44..ce598bd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -721,7 +721,7 @@ impl Drop for FailGuard { impl FailGuard { /// Configure the actions for a fail point during the lifetime of the returning `FailGuard`. /// - /// Read documentation of [`cfg`] for more details. + /// Read documentation of [`cfg()`] for more details. pub fn new>(name: S, actions: &str) -> Result { let name = name.into(); cfg(&name, actions)?;