From 962f75368e9fa0f4356b41295c281024338a68b1 Mon Sep 17 00:00:00 2001 From: gentoo90 Date: Sat, 11 Apr 2015 11:06:25 +0300 Subject: [PATCH] Fix example in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3518b7b..b66db27 100644 --- a/README.md +++ b/README.md @@ -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, @@ -48,7 +48,7 @@ fn main() { time_created: row.get(2), data: row.get(3) }; - println!("Found person {}", person); + println!("Found person {:?}", person); } } ```