diff --git a/src/server/mod.rs b/src/server/mod.rs index 8236b1c089..3341baf710 100644 --- a/src/server/mod.rs +++ b/src/server/mod.rs @@ -145,7 +145,7 @@ impl<'a> Iterator for Server<'a> { } /// Represents a connection to the server that has not been processed yet. -pub struct Connection(R, W); +pub struct Connection(pub R, pub W); impl Connection { /// Process this connection and read the request.