We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bbf61a commit e9f5f00Copy full SHA for e9f5f00
2 files changed
src/lib/lib.rs
@@ -277,7 +277,6 @@ impl PostgresNoticeHandler for DefaultNoticeHandler {
277
}
278
279
/// An asynchronous notification
280
-#[deriving(Show)]
281
pub struct PostgresNotification {
282
/// The process ID of the notifying backend process
283
pub pid: i32,
src/test/test.rs
@@ -906,7 +906,7 @@ fn test_notification_iterator_some() {
906
assert_eq!(&expected.channel, &channel);
907
assert_eq!(&expected.payload, &payload);
908
909
- x => fail!("Expected {} but got {}", expected, x)
+ None => fail!("Unexpected result")
910
911
912
0 commit comments