mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-26 11:31:37 +08:00
Use new Show interpolation
This commit is contained in:
parent
cc8a68ca83
commit
8843d15a07
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user