Skip to content

Commit

Permalink
Merge pull request kkawakam#27 from gentoo90/readme-fix
Browse files Browse the repository at this point in the history
Fix example in README.md
  • Loading branch information
hydhknn committed Apr 11, 2015
2 parents 231a176 + 962f753 commit 6cc02d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ struct Person {
}

fn main() {
let conn = SqliteConnection::open(":memory:").unwrap();
let conn = SqliteConnection::open_in_memory().unwrap();

conn.execute("CREATE TABLE person (
id INTEGER PRIMARY KEY,
Expand All @@ -48,7 +48,7 @@ fn main() {
time_created: row.get(2),
data: row.get(3)
};
println!("Found person {}", person);
println!("Found person {:?}", person);
}
}
```
Expand Down

0 comments on commit 6cc02d1

Please sign in to comment.