From 8843d15a07f0dd921af4d2264c630e18a1fac785 Mon Sep 17 00:00:00 2001 From: John Gallagher Date: Sat, 10 Jan 2015 20:43:39 -0600 Subject: [PATCH] Use new Show interpolation --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 41ab875..161c36f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -43,7 +43,7 @@ //! time_created: row.get(2), //! data: row.get(3) //! }; -//! println!("Found person {}", person); +//! println!("Found person {:?}", person); //! } //! } //! ``` @@ -511,7 +511,7 @@ impl<'conn> SqliteStatement<'conn> { impl<'conn> fmt::Show for SqliteStatement<'conn> { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - write!(f, "Statement( conn: {}, stmt: {} )", self.conn, self.stmt) + write!(f, "Statement( conn: {:?}, stmt: {:?} )", self.conn, self.stmt) } }