client: Fix borken doc(cfg) attribute

This commit is contained in:
Jonas Platte 2021-05-14 14:35:05 +02:00
parent b616ba8233
commit c2957df174
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -73,6 +73,7 @@
//! ``` //! ```
#![warn(missing_docs)] #![warn(missing_docs)]
#![cfg_attr(docsrs, feature(doc_cfg))]
use std::{ use std::{
future::Future, future::Future,
@ -90,7 +91,7 @@ extern crate hyper_rustls_crate as hyper_rustls;
extern crate isahc_crate as isahc; extern crate isahc_crate as isahc;
#[cfg(feature = "client-api")] #[cfg(feature = "client-api")]
#[cfg_attr(docsrs, doc(cfg(feature = "client")))] #[cfg_attr(docsrs, doc(cfg(feature = "client-api")))]
mod client_api; mod client_api;
mod error; mod error;
pub mod http_client; pub mod http_client;