Stop destructuring a trait object reference
This broke upstream but we don't even need to do it.
This commit is contained in:
parent
fc933a22f8
commit
d1c477b97e
@ -1145,7 +1145,7 @@ impl<'conn> PostgresStatement<'conn> {
|
|||||||
}
|
}
|
||||||
let mut formats = vec![];
|
let mut formats = vec![];
|
||||||
let mut values = vec![];
|
let mut values = vec![];
|
||||||
for (¶m, ty) in params.iter().zip(self.param_types.iter()) {
|
for (param, ty) in params.iter().zip(self.param_types.iter()) {
|
||||||
let (format, value) = try!(param.to_sql(ty));
|
let (format, value) = try!(param.to_sql(ty));
|
||||||
formats.push(format as i16);
|
formats.push(format as i16);
|
||||||
values.push(value);
|
values.push(value);
|
||||||
|
Loading…
Reference in New Issue
Block a user