Skip to content

Commit 5a4ef27

Browse files
committed
Fix for new printf
1 parent b06769b commit 5a4ef27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/postgres/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ impl<'self> NormalPostgresStatement<'self> {
794794
let mut formats = ~[];
795795
let mut values = ~[];
796796
assert!(self.param_types.len() == params.len(),
797-
"Expected %u parameters but found %u",
797+
"Expected {} parameters but found {}",
798798
self.param_types.len(), params.len());
799799
for (&param, &ty) in params.iter().zip(self.param_types.iter()) {
800800
let (format, value) = param.to_sql(ty);

0 commit comments

Comments
 (0)