Skip to content

Commit

Permalink
Show -> Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Jan 24, 2015
1 parent e6bd713 commit 384ead4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion phf/src/map.rs
Expand Up @@ -39,7 +39,7 @@ pub struct Map<K:'static, V:'static> {
pub entries: &'static [(K, V)],
}

impl<K, V> fmt::Show for Map<K, V> where K: fmt::Show, V: fmt::Show {
impl<K, V> fmt::Debug for Map<K, V> where K: fmt::Debug, V: fmt::Debug {
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
try!(write!(fmt, "Map {{"));
let mut first = true;
Expand Down
2 changes: 1 addition & 1 deletion phf/src/ordered_map.rs
Expand Up @@ -46,7 +46,7 @@ pub struct OrderedMap<K:'static, V:'static> {
pub entries: &'static [(K, V)],
}

impl<K, V> fmt::Show for OrderedMap<K, V> where K: fmt::Show, V: fmt::Show {
impl<K, V> fmt::Debug for OrderedMap<K, V> where K: fmt::Debug, V: fmt::Debug {
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
try!(write!(fmt, "OrderedMap {{"));
let mut first = true;
Expand Down
2 changes: 1 addition & 1 deletion phf/src/ordered_set.rs
Expand Up @@ -37,7 +37,7 @@ pub struct OrderedSet<T:'static> {
pub map: OrderedMap<T, ()>,
}

impl<T> fmt::Show for OrderedSet<T> where T: fmt::Show {
impl<T> fmt::Debug for OrderedSet<T> where T: fmt::Debug {
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
try!(write!(fmt, "OrderedSet {{"));
let mut first = true;
Expand Down
2 changes: 1 addition & 1 deletion phf/src/set.rs
Expand Up @@ -35,7 +35,7 @@ pub struct Set<T:'static> {
pub map: Map<T, ()>
}

impl<T> fmt::Show for Set<T> where T: fmt::Show {
impl<T> fmt::Debug for Set<T> where T: fmt::Debug {
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
try!(write!(fmt, "Set {{"));
let mut first = true;
Expand Down

0 comments on commit 384ead4

Please sign in to comment.