Fix clippy warnings (#959)

Fix clippy warnings
This commit is contained in:
gwenn
2021-05-13 08:58:46 +02:00
committed by GitHub
parent e7bb33a99c
commit 1985e78fa6
6 changed files with 9 additions and 9 deletions

View File

@@ -225,7 +225,7 @@ impl Connection {
) -> Result<Blob<'a>> {
let mut c = self.db.borrow_mut();
let mut blob = ptr::null_mut();
let db = db.to_cstring()?;
let db = db.as_cstring()?;
let table = super::str_to_cstring(table)?;
let column = super::str_to_cstring(column)?;
let rc = unsafe {