Skip to content

Commit d1c477b

Browse files
committed
Stop destructuring a trait object reference
This broke upstream but we don't even need to do it.
1 parent fc933a2 commit d1c477b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,7 @@ impl<'conn> PostgresStatement<'conn> {
11451145
}
11461146
let mut formats = vec![];
11471147
let mut values = vec![];
1148-
for (&param, ty) in params.iter().zip(self.param_types.iter()) {
1148+
for (param, ty) in params.iter().zip(self.param_types.iter()) {
11491149
let (format, value) = try!(param.to_sql(ty));
11501150
formats.push(format as i16);
11511151
values.push(value);

0 commit comments

Comments
 (0)