mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-22 16:29:20 +08:00
Fix for latest rustc changes
This commit is contained in:
parent
4ca7b4964f
commit
937eedbe61
@ -311,7 +311,8 @@ impl SqliteConnection {
|
||||
/// This is functionally equivalent to the `Drop` implementation for `SqliteConnection` except
|
||||
/// that it returns any error encountered to the caller.
|
||||
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<()> {
|
||||
|
Loading…
Reference in New Issue
Block a user