From 7e8dde40cce2eb0a6859cfa43a4be82e2f1ef13c Mon Sep 17 00:00:00 2001 From: Anand Krishnamoorthi Date: Tue, 22 Oct 2024 11:54:01 -0700 Subject: [PATCH] fix: docs failing to build Added #![feature(doc_cfg)] as suggested in build log. 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.