refactor(lib): Use cfg(all(...)) instead of multiple cfg attributes
This commit is contained in:
committed by
Sean McArthur
parent
2c8121f173
commit
9dff00425d
@@ -5,8 +5,7 @@ use std::sync::Arc;
|
||||
|
||||
#[cfg(feature = "server")]
|
||||
use crate::body::{Body, HttpBody};
|
||||
#[cfg(feature = "http2")]
|
||||
#[cfg(feature = "server")]
|
||||
#[cfg(all(feature = "http2", feature = "server"))]
|
||||
use crate::proto::h2::server::H2Stream;
|
||||
use crate::rt::Executor;
|
||||
#[cfg(feature = "server")]
|
||||
|
||||
Reference in New Issue
Block a user