Skip to content

Commit a71340c

Browse files
committed
Fix a rustdoc warning
Fixes `warning: `cfg` is both a function and a macro` Signed-off-by: Colin Walters <[email protected]>
1 parent 5bc95a1 commit a71340c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ impl Drop for FailGuard {
721721
impl FailGuard {
722722
/// Configure the actions for a fail point during the lifetime of the returning `FailGuard`.
723723
///
724-
/// Read documentation of [`cfg`] for more details.
724+
/// Read documentation of [`cfg()`] for more details.
725725
pub fn new<S: Into<String>>(name: S, actions: &str) -> Result<FailGuard, String> {
726726
let name = name.into();
727727
cfg(&name, actions)?;

0 commit comments

Comments
 (0)