Use new Show interpolation

This commit is contained in:
John Gallagher 2015-01-10 20:43:39 -06:00
parent cc8a68ca83
commit 8843d15a07

View File

@ -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)
}
}