Skip to content

Commit 5c67a97

Browse files
committed
Allow unexpected_cfgs lint for cfg CHANNEL_NIGHTLY
1 parent 57e92ff commit 5c67a97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spdlog/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@
250250
//! [`RotationPolicy::Hourly`]: crate::sink::RotationPolicy::Hourly
251251
//! [`AsyncPoolSink`]: crate::sink::AsyncPoolSink
252252
253+
#![allow(unexpected_cfgs)]
253254
// Credits: https://blog.wnut.pw/2020/03/24/documentation-and-unstable-rustdoc-features/
254255
#![cfg_attr(all(doc, CHANNEL_NIGHTLY), feature(doc_auto_cfg))]
255256
#![warn(missing_docs)]

0 commit comments

Comments
 (0)