Skip to content

Commit

Permalink
XXX: not sure why but tests fail because of these lints
Browse files Browse the repository at this point in the history
  • Loading branch information
svix-onelson committed Nov 16, 2023
1 parent e12310c commit 19c6acd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/client/connect/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ pub(super) mod sealed {
fn connect(self, internal_only: Internal, dst: Uri) -> <Self::_Svc as ConnectSvc>::Future;
}

#[allow(unreachable_pub)]
pub trait ConnectSvc {
type Connection: AsyncRead + AsyncWrite + Connection + Unpin + Send + 'static;
type Error: Into<Box<dyn StdError + Send + Sync>>;
Expand Down
1 change: 1 addition & 0 deletions tests/support/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ use hyper::{Body, Client, Request, Response, Server, Version};
pub use futures_util::{
future, FutureExt as _, StreamExt as _, TryFutureExt as _, TryStreamExt as _,
};
#[allow(unused_imports)]
pub use hyper::{HeaderMap, StatusCode};
pub use std::net::SocketAddr;

Expand Down

0 comments on commit 19c6acd

Please sign in to comment.