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