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

@@ -52,7 +52,7 @@ impl Module for Series {
_args: &[&[u8]],
) -> Result<(String, SeriesTab)> {
let vtab = SeriesTab {
base: Default::default(),
base: ffi::sqlite3_vtab::default(),
};
Ok((
"CREATE TABLE x(value,start hidden,stop hidden,step hidden)".to_owned(),
@@ -196,7 +196,7 @@ struct SeriesTabCursor {
impl SeriesTabCursor {
fn new() -> SeriesTabCursor {
Default::default()
SeriesTabCursor::default()
}
}
impl VTabCursor for SeriesTabCursor {