Fix README example

This commit is contained in:
Steven Fackler 2014-06-28 23:54:17 -07:00
parent c577975b3c
commit dba7778721

View File

@ -122,7 +122,7 @@ columns are one-indexed.
```rust
let stmt = try!(conn.prepare("SELECT bar, baz FROM foo"));
for row in try!(stmt.query([])) {
let bar: i32 = row[1];
let bar: i32 = row[1u];
let baz: String = row["baz"];
println!("bar: {}, baz: {}", bar, baz);
}