update macro definition too
This commit is contained in:
parent
675534c26f
commit
7d1be73156
@ -38,7 +38,7 @@ use postgres::error::{PgConnectDbError,
|
|||||||
CardinalityViolation};
|
CardinalityViolation};
|
||||||
use postgres::types::{PgInt4, PgVarchar, ToSql};
|
use postgres::types::{PgInt4, PgVarchar, ToSql};
|
||||||
|
|
||||||
macro_rules! or_fail(
|
macro_rules! or_panic(
|
||||||
($e:expr) => (
|
($e:expr) => (
|
||||||
match $e {
|
match $e {
|
||||||
Ok(ok) => ok,
|
Ok(ok) => ok,
|
||||||
|
Loading…
Reference in New Issue
Block a user