Skip to content

Commit 8d5c448

Browse files
committed
Re-generated README
1 parent 2805bd7 commit 8d5c448

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ all commands with a "no results" reply:
2323
```rust
2424
extern crate mysql;
2525
use msql_srv::*;
26+
use mysql::prelude::*;
2627

2728
struct Backend;
2829
impl<W: io::Write> MysqlShim<W> for Backend {
@@ -78,7 +79,7 @@ fn main() {
7879

7980
let mut db = mysql::Conn::new(&format!("mysql://127.0.0.1:{}", port)).unwrap();
8081
assert_eq!(db.ping(), true);
81-
assert_eq!(db.query("SELECT a, b FROM foo").unwrap().count(), 1);
82+
assert_eq!(db.query_iter("SELECT a, b FROM foo").unwrap().count(), 1);
8283
drop(db);
8384
jh.join().unwrap();
8485
}

README.tpl

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)