Due to rust monophormisation, there is no need for double indirection

This commit is contained in:
gwenn
2017-04-27 18:05:12 +02:00
parent 63a444a95f
commit 3e6fffaf94
3 changed files with 12 additions and 14 deletions

View File

@@ -781,6 +781,9 @@ impl InnerConnection {
}
fn close(&mut self) -> Result<()> {
if self.db.is_null() {
return Ok(());
}
self.remove_hooks();
unsafe {
let r = ffi::sqlite3_close(self.db());