Skip to content

Commit

Permalink
update to recent rust changes
Browse files Browse the repository at this point in the history
  • Loading branch information
suhr committed Jan 22, 2015
1 parent 7d9c938 commit 2084092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ pub struct LogLevel(pub u32);

impl Copy for LogLevel {}

impl fmt::String for LogLevel {
impl fmt::Display for LogLevel {
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
let LogLevel(level) = *self;
match LOG_LEVEL_NAMES.get(level as usize - 1) {
Expand Down

0 comments on commit 2084092

Please sign in to comment.