From 294ed0369d55116299505d1bcef6d5c25865e1aa Mon Sep 17 00:00:00 2001 From: Shella Stephens Date: Thu, 1 Feb 2024 18:35:25 -0700 Subject: [PATCH] Fix tests (#521) * Fix tests --- src/connector/http/client.rs | 2 +- src/serialization.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/connector/http/client.rs b/src/connector/http/client.rs index dce31929..9bda2d4a 100644 --- a/src/connector/http/client.rs +++ b/src/connector/http/client.rs @@ -9,7 +9,7 @@ pub mod path; pub mod request; pub mod response; -pub use self::{connection::*, error::*, path::*}; +pub use self::{connection::*, error::*}; /// HTTP version. pub const HTTP_VERSION: &str = "HTTP/1.1"; diff --git a/src/serialization.rs b/src/serialization.rs index fae3a906..6b552fd4 100644 --- a/src/serialization.rs +++ b/src/serialization.rs @@ -4,7 +4,7 @@ mod de; mod error; mod ser; -pub use self::error::{Error, ErrorKind}; +pub use self::error::Error; use std::io::Cursor; /// Serialize a message into a byte vector