Fix for latest rustc changes

This commit is contained in:
John Gallagher 2015-02-13 15:44:24 -05:00
parent 4ca7b4964f
commit 937eedbe61

View File

@ -311,7 +311,8 @@ impl SqliteConnection {
/// This is functionally equivalent to the `Drop` implementation for `SqliteConnection` except /// This is functionally equivalent to the `Drop` implementation for `SqliteConnection` except
/// that it returns any error encountered to the caller. /// that it returns any error encountered to the caller.
pub fn close(self) -> SqliteResult<()> { pub fn close(self) -> SqliteResult<()> {
self.db.borrow_mut().close() let mut db = self.db.borrow_mut();
db.close()
} }
fn decode_result(&self, code: c_int) -> SqliteResult<()> { fn decode_result(&self, code: c_int) -> SqliteResult<()> {