Fix clippy warnings

This commit is contained in:
gwenn
2018-06-28 21:07:05 +02:00
parent 3b0423353d
commit ce0c9a6344
3 changed files with 6 additions and 6 deletions

View File

@@ -69,7 +69,7 @@ impl Module for ArrayModule {
_args: &[&[u8]],
) -> Result<(String, ArrayTab)> {
let vtab = ArrayTab {
base: Default::default(),
base: ffi::sqlite3_vtab::default(),
};
Ok(("CREATE TABLE x(value,pointer hidden)".to_owned(), vtab))
}
@@ -139,7 +139,7 @@ struct ArrayTabCursor {
impl ArrayTabCursor {
fn new() -> ArrayTabCursor {
ArrayTabCursor {
base: Default::default(),
base: ffi::sqlite3_vtab_cursor::default(),
row_id: 0,
ptr: None,
}