Skip to content

Commit 91f2453

Browse files
committed
Minor doc update
1 parent 3b459ca commit 91f2453

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ fn main() {
4646
};
4747
conn.update("INSERT INTO person (name, time_created, data)
4848
VALUES ($1, $2, $3)",
49-
[&me.name as &ToSql, &me.time_created as &ToSql,
50-
&me.data as &ToSql]);
49+
[&me.name as &ToSql, &me.time_created as &ToSql,
50+
&me.data as &ToSql]);
5151

5252
let stmt = conn.prepare("SELECT id, name, time_created, data FROM person");
5353
for row in stmt.query([]) {

lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ fn main() {
3838
};
3939
conn.update("INSERT INTO person (name, time_created, data)
4040
VALUES ($1, $2, $3)",
41-
[&me.name as &ToSql, &me.time_created as &ToSql,
42-
&me.data as &ToSql]);
41+
[&me.name as &ToSql, &me.time_created as &ToSql,
42+
&me.data as &ToSql]);
4343
4444
let stmt = conn.prepare("SELECT id, name, time_created, data FROM person");
4545
for row in stmt.query([]) {

0 commit comments

Comments
 (0)