other rustup fallout

This commit is contained in:
Sean McArthur
2014-12-23 14:04:21 -08:00
parent 79fc40cbce
commit 84b49cb364
4 changed files with 9 additions and 9 deletions

View File

@@ -62,7 +62,7 @@ impl Writer for MockStream {
impl NetworkStream for MockStream {
fn peer_name(&mut self) -> IoResult<SocketAddr> {
Ok(from_str("127.0.0.1:1337").unwrap())
Ok("127.0.0.1:1337".parse().unwrap())
}
}