Skip to content

Commit c253cc8

Browse files
committed
One more literal specifier
1 parent 886f24e commit c253cc8

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
@@ -113,7 +113,7 @@ columns are zero-indexed.
113113
```rust
114114
let stmt = try!(conn.prepare("SELECT bar, baz FROM foo"));
115115
for row in try!(stmt.query([])) {
116-
let bar: i32 = row.get(0u);
116+
let bar: i32 = row.get(0);
117117
let baz: String = row.get("baz");
118118
println!("bar: {}, baz: {}", bar, baz);
119119
}

0 commit comments

Comments
 (0)