Update to latest Rust
Signed-off-by: Peter Atashian <retep998@gmail.com>
This commit is contained in:
@@ -15,7 +15,7 @@ use http::HttpReader;
|
||||
use http::HttpReader::{SizedReader, ChunkedReader, EmptyReader};
|
||||
use uri::RequestUri;
|
||||
|
||||
pub type InternalReader<'a> = &'a mut Reader + 'a;
|
||||
pub type InternalReader<'a> = &'a mut (Reader + 'a);
|
||||
|
||||
/// A request bundles several parts of an incoming `NetworkStream`, given to a `Handler`.
|
||||
pub struct Request<'a> {
|
||||
|
||||
@@ -14,7 +14,7 @@ use status;
|
||||
use net::{Fresh, Streaming};
|
||||
use version;
|
||||
|
||||
pub type InternalWriter<'a> = &'a mut Writer + 'a;
|
||||
pub type InternalWriter<'a> = &'a mut (Writer + 'a);
|
||||
|
||||
/// The outgoing half for a Tcp connection, created by a `Server` and given to a `Handler`.
|
||||
pub struct Response<'a, W = Fresh> {
|
||||
|
||||
Reference in New Issue
Block a user