Fix doc(cfg) implication

This commit is contained in:
Maybe Waffle 2022-01-02 19:20:56 +03:00
parent fd3ef0bdf3
commit 4d0ed16054

View file

@ -81,7 +81,7 @@
// (see: `teloxide`). We can't use `docsrs` as it breaks tokio compilation in this case.
#![cfg_attr(
all(any(docsrs, dep_docsrs), feature = "nightly"),
feature(doc_cfg, doc_notable_trait)
feature(doc_cfg, doc_auto_cfg, doc_notable_trait)
)]
#![cfg_attr(feature = "nightly", feature(type_alias_impl_trait))]
#![cfg_attr(all(feature = "full", docsrs), deny(rustdoc::broken_intra_doc_links))]