Skip to content

Commit e9f5f00

Browse files
committed
Remove Show impl from PostgresNotification
1 parent 5bbf61a commit e9f5f00

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/lib/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,6 @@ impl PostgresNoticeHandler for DefaultNoticeHandler {
277277
}
278278

279279
/// An asynchronous notification
280-
#[deriving(Show)]
281280
pub struct PostgresNotification {
282281
/// The process ID of the notifying backend process
283282
pub pid: i32,

src/test/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ fn test_notification_iterator_some() {
906906
assert_eq!(&expected.channel, &channel);
907907
assert_eq!(&expected.payload, &payload);
908908
}
909-
x => fail!("Expected {} but got {}", expected, x)
909+
None => fail!("Unexpected result")
910910
}
911911
}
912912

0 commit comments

Comments
 (0)