Skip to content

Commit ee8b788

Browse files
committed
Fix syntax in README
1 parent 21feed4 commit ee8b788

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Both methods take an array of parameters to bind to the query represented as
112112
query (or 0 if not applicable):
113113
```rust
114114
let stmt = try!(conn.prepare("UPDATE foo SET bar = $1 WHERE baz = $2"));
115-
let updates = try!(stmt.execute([&1i32 as &ToSql, & &"biz" as &ToSql]));
115+
let updates = try!(stmt.execute([&1i32 as &ToSql, &"biz" as &ToSql]));
116116
println!("{} rows were updated", updates);
117117
```
118118
`query` returns an iterator over the rows returned from the database. The

0 commit comments

Comments
 (0)