Skip to content

Commit

Permalink
libnative: Remove all uses of {:?}.
Browse files Browse the repository at this point in the history
  • Loading branch information
luqmana committed Oct 16, 2014
1 parent 3ef9aa0 commit ce6226e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libnative/io/file_unix.rs
Expand Up @@ -523,7 +523,7 @@ mod tests {
assert_eq!(buf[2], 's' as u8);
assert_eq!(buf[3], 't' as u8);
}
r => fail!("invalid read: {:?}", r)
r => fail!("invalid read: {}", r)
}

assert!(writer.inner_read(buf).is_err());
Expand All @@ -547,7 +547,7 @@ mod tests {
assert_eq!(buf[2], 's' as u8);
assert_eq!(buf[3], 't' as u8);
}
r => fail!("invalid read: {:?}", r)
r => fail!("invalid read: {}", r)
}
}
}
Expand Down
1 change: 1 addition & 0 deletions src/librustrt/rtio.rs
Expand Up @@ -356,6 +356,7 @@ pub trait PausableIdleCallback {

pub trait RtioSignal {}

#[deriving(Show)]
pub struct IoError {
pub code: uint,
pub extra: uint,
Expand Down

0 comments on commit ce6226e

Please sign in to comment.