File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -523,7 +523,7 @@ mod tests {
523
523
assert_eq ! ( buf[ 2 ] , 's' as u8 ) ;
524
524
assert_eq ! ( buf[ 3 ] , 't' as u8 ) ;
525
525
}
526
- r => fail ! ( "invalid read: {:? }" , r)
526
+ r => fail ! ( "invalid read: {}" , r)
527
527
}
528
528
529
529
assert ! ( writer. inner_read( buf) . is_err( ) ) ;
@@ -547,7 +547,7 @@ mod tests {
547
547
assert_eq ! ( buf[ 2 ] , 's' as u8 ) ;
548
548
assert_eq ! ( buf[ 3 ] , 't' as u8 ) ;
549
549
}
550
- r => fail ! ( "invalid read: {:? }" , r)
550
+ r => fail ! ( "invalid read: {}" , r)
551
551
}
552
552
}
553
553
}
Original file line number Diff line number Diff line change @@ -356,6 +356,7 @@ pub trait PausableIdleCallback {
356
356
357
357
pub trait RtioSignal { }
358
358
359
+ #[ deriving( Show ) ]
359
360
pub struct IoError {
360
361
pub code : uint ,
361
362
pub extra : uint ,
You can’t perform that action at this time.
0 commit comments