refactor(lib): Use cfg(all(...)) instead of multiple cfg attributes
This commit is contained in:
committed by
Sean McArthur
parent
2c8121f173
commit
9dff00425d
@@ -52,8 +52,7 @@
|
||||
pub use self::connect::HttpConnector;
|
||||
|
||||
pub mod connect;
|
||||
#[cfg(test)]
|
||||
#[cfg(feature = "runtime")]
|
||||
#[cfg(all(test, feature = "runtime"))]
|
||||
mod tests;
|
||||
|
||||
cfg_feature! {
|
||||
|
||||
Reference in New Issue
Block a user