Skip to content

Commit

Permalink
Fix example in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gentoo90 committed Apr 11, 2015
1 parent 231a176 commit 962f753
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 962f753

Please sign in to comment.