Skip to content

Commit 67fd749

Browse files
kumarguacatangiu
authored andcommitted
Removed Unnecessary pub
Signed-off-by: Gulshan Kumar <[email protected]> Signed-off-by: YUAN LYU <[email protected]>
1 parent 683b85d commit 67fd749

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/connection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use crate::response::{Response, StatusCode};
1414
const BUFFER_SIZE: usize = 1024;
1515

1616
/// Describes the state machine of an HTTP connection.
17-
pub(crate) enum ConnectionState {
17+
enum ConnectionState {
1818
WaitingForRequestLine,
1919
WaitingForHeaders,
2020
WaitingForBody,

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ use crate::common::headers;
117117

118118
pub use crate::connection::{ConnectionError, HttpConnection};
119119
pub use crate::request::{Request, RequestError};
120-
pub use crate::response::{Response, StatusCode};
120+
pub use crate::response::{Response, ResponseHeaders, StatusCode};
121121
pub use crate::server::{HttpServer, ServerError, ServerRequest, ServerResponse};
122122

123123
pub use crate::common::headers::{Encoding, Headers, MediaType};

0 commit comments

Comments
 (0)