Remove Show impl from PostgresNotification
This commit is contained in:
parent
5bbf61a65e
commit
e9f5f00d35
@ -277,7 +277,6 @@ impl PostgresNoticeHandler for DefaultNoticeHandler {
|
||||
}
|
||||
|
||||
/// An asynchronous notification
|
||||
#[deriving(Show)]
|
||||
pub struct PostgresNotification {
|
||||
/// The process ID of the notifying backend process
|
||||
pub pid: i32,
|
||||
|
@ -906,7 +906,7 @@ fn test_notification_iterator_some() {
|
||||
assert_eq!(&expected.channel, &channel);
|
||||
assert_eq!(&expected.payload, &payload);
|
||||
}
|
||||
x => fail!("Expected {} but got {}", expected, x)
|
||||
None => fail!("Unexpected result")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user