Merge pull request #96 from mhart/update-hashmap-fmt
Update hash_map and fmt usages
This commit is contained in:
@@ -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};
|
||||
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user