refactor(hyper): Remove the box_syntax feature gate.

This commit is contained in:
Jonathan Reem
2015-03-23 13:29:17 -07:00
committed by Sean McArthur
parent a62323cafe
commit dbee6af8df
5 changed files with 13 additions and 14 deletions

View File

@@ -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();