Update hash_map and fmt usages

Depends on https://github.com/carllerche/curl-rust/pull/24 and
https://github.com/chris-morgan/rust-http/pull/167
This commit is contained in:
Michael Hart
2014-11-04 12:34:35 -05:00
parent b508e913a1
commit 1acf567061
2 changed files with 3 additions and 2 deletions

View File

@@ -9,7 +9,8 @@ use std::fmt::{mod, Show};
use std::intrinsics::TypeId;
use std::raw::TraitObject;
use std::str::{SendStr, Slice, Owned};
use std::collections::hashmap::{HashMap, Entries, Occupied, Vacant};
use std::collections::HashMap;
use std::collections::hash_map::{Entries, Occupied, Vacant};
use std::sync::RWLock;
use std::{hash, mem};

View File

@@ -1571,7 +1571,7 @@ impl StatusCode {
impl fmt::Unsigned for StatusCode {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
fmt::secret_unsigned(&(*self as u16), f)
fmt::Unsigned::fmt(&(*self as u16), f)
}
}