From 6fe52fce2fa7efb08952a370e7e7df6da5b91b53 Mon Sep 17 00:00:00 2001 From: mejrs Date: Tue, 14 Sep 2021 00:22:58 +0200 Subject: [PATCH] msrv strikes again --- src/lib.rs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 7b91ed9f..92331e2d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,10 +1,14 @@ #![cfg_attr(feature = "nightly", feature(specialization))] #![cfg_attr(docsrs, feature(doc_cfg))] -#![deny( - invalid_doc_attributes, - rustdoc::broken_intra_doc_links, - rustdoc::bare_urls +#![cfg_attr( + docsrs, // rustdoc:: is not supported on msrv + deny( + invalid_doc_attributes, + rustdoc::broken_intra_doc_links, + rustdoc::bare_urls + ) )] + //! Rust bindings to the Python interpreter. //! //! PyO3 can be used to write native Python modules or run Python code and modules from Rust.