Skip to content

Commit ce6226e

Browse files
committed
libnative: Remove all uses of {:?}.
1 parent 3ef9aa0 commit ce6226e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/libnative/io/file_unix.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ mod tests {
523523
assert_eq!(buf[2], 's' as u8);
524524
assert_eq!(buf[3], 't' as u8);
525525
}
526-
r => fail!("invalid read: {:?}", r)
526+
r => fail!("invalid read: {}", r)
527527
}
528528

529529
assert!(writer.inner_read(buf).is_err());
@@ -547,7 +547,7 @@ mod tests {
547547
assert_eq!(buf[2], 's' as u8);
548548
assert_eq!(buf[3], 't' as u8);
549549
}
550-
r => fail!("invalid read: {:?}", r)
550+
r => fail!("invalid read: {}", r)
551551
}
552552
}
553553
}

src/librustrt/rtio.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ pub trait PausableIdleCallback {
356356

357357
pub trait RtioSignal {}
358358

359+
#[deriving(Show)]
359360
pub struct IoError {
360361
pub code: uint,
361362
pub extra: uint,

0 commit comments

Comments
 (0)