refactor(hyper): Remove the box_syntax feature gate.
This commit is contained in:
committed by
Sean McArthur
parent
a62323cafe
commit
dbee6af8df
@@ -57,7 +57,7 @@ impl Request<Fresh> {
|
||||
|
||||
let stream = try!(connector.connect(&*host, port, &*url.scheme));
|
||||
// FIXME: Use Type ascription
|
||||
let stream: Box<NetworkStream + Send> = box stream;
|
||||
let stream: Box<NetworkStream + Send> = Box::new(stream);
|
||||
let stream = ThroughWriter(BufWriter::new(stream));
|
||||
|
||||
let mut headers = Headers::new();
|
||||
|
||||
Reference in New Issue
Block a user