Skip to content

Commit 74d6f38

Browse files
committed
Minor README cleanup
1 parent 42f5224 commit 74d6f38

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ let stmt = conn.prepare("UPDATE foo SET bar = $1 WHERE baz = $2");
104104
let updates = stmt.update([&1i32 as &ToSql, & &"biz" as &ToSql]);
105105
println!("{} rows were updated", updates);
106106
```
107-
`query` returns a result iterator. Fields of each row in the result can be
108-
accessed either by their indicies or their column names. Unlike statement
109-
parameters, result columns are zero-indexed.
107+
`query` returns an iterator over the rows returned from the database. Fields of
108+
each row in the result can be accessed either by their indicies or their column
109+
names. Unlike statement parameters, result columns are zero-indexed.
110110
```rust
111111
let stmt = conn.prepare("SELECT bar, baz FROM foo");
112112
for row in stmt.query([]) {
@@ -261,6 +261,6 @@ traits.
261261

262262
Development
263263
===========
264-
Rust-Postgres is still in the early stages of development, so don't be
265-
surprised if APIs change and things break. If something's not working properly,
266-
file an issue or submit a pull request!
264+
Like Rust itself, Rust-Postgres is still in the early stages of development, so
265+
don't be surprised if APIs change and things break. If something's not working
266+
properly, file an issue or submit a pull request!

0 commit comments

Comments
 (0)