Skip to content

Commit 729debe

Browse files
committed
Syntax highlighting fix
1 parent 55c0674 commit 729debe

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
@@ -95,7 +95,7 @@ A prepared statement can be executed with the `query` and `update` methods.
9595
Both methods take an array of parameters to bind to the query represented as
9696
`&ToSql` trait objects. `update` returns the number of rows affected by the
9797
query (or 0 if not applicable):
98-
```
98+
```rust
9999
let stmt = conn.prepare("UPDATE foo SET bar = $1 WHERE baz = $2");
100100
let updates = stmt.update([&1i32 as &ToSql, & &"biz" as &ToSql]);
101101
println!("{} rows were updated", updates);

0 commit comments

Comments
 (0)