client: Fix borken doc(cfg) attribute
This commit is contained in:
parent
b616ba8233
commit
c2957df174
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user