Track changes in rust-nightly

This commit is contained in:
John Gallagher 2014-11-10 11:58:46 -05:00
parent 18eb318753
commit 75dd753fbb

View File

@ -117,7 +117,7 @@ impl ToSql for Vec<u8> {
impl ToSql for time::Timespec { impl ToSql for time::Timespec {
unsafe fn bind_parameter(&self, stmt: *mut ffi::sqlite3_stmt, col: c_int) -> c_int { unsafe fn bind_parameter(&self, stmt: *mut ffi::sqlite3_stmt, col: c_int) -> c_int {
let time_str = time::at_utc(*self).strftime(SQLITE_DATETIME_FMT).unwrap(); let time_str = time::at_utc(*self).strftime(SQLITE_DATETIME_FMT).unwrap().to_string();
time_str.bind_parameter(stmt, col) time_str.bind_parameter(stmt, col)
} }
} }