Remove Show impl from PostgresNotification

This commit is contained in:
Steven Fackler 2014-07-22 20:40:36 -07:00
parent 5bbf61a65e
commit e9f5f00d35
2 changed files with 1 additions and 2 deletions

View File

@ -277,7 +277,6 @@ impl PostgresNoticeHandler for DefaultNoticeHandler {
} }
/// An asynchronous notification /// An asynchronous notification
#[deriving(Show)]
pub struct PostgresNotification { pub struct PostgresNotification {
/// The process ID of the notifying backend process /// The process ID of the notifying backend process
pub pid: i32, pub pid: i32,

View File

@ -906,7 +906,7 @@ fn test_notification_iterator_some() {
assert_eq!(&expected.channel, &channel); assert_eq!(&expected.channel, &channel);
assert_eq!(&expected.payload, &payload); assert_eq!(&expected.payload, &payload);
} }
x => fail!("Expected {} but got {}", expected, x) None => fail!("Unexpected result")
} }
} }