From 61f82d1b3455fcc5248d1e4c3b700416119747d3 Mon Sep 17 00:00:00 2001 From: Anand Krishnamoorthi <35780660+anakrish@users.noreply.github.com> Date: Tue, 22 Oct 2024 13:37:31 -0700 Subject: [PATCH] fix: docs failing to build (#334) Added #![cfg_attr(docsrs, feature(doc_cfg))] fixes #333 Signed-off-by: Anand Krishnamoorthi --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index cf0b7f9..7656a70 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +#![cfg_attr(docsrs, feature(doc_cfg))] #![allow(unknown_lints)] #![allow(clippy::doc_lazy_continuation)] // Use README.md as crate documentation.