mirror of
https://github.com/isar/rusqlite.git
synced 2025-01-20 00:50:50 +08:00
commit
bb34f3fec8
@ -119,7 +119,7 @@ unsafe impl<'vtab> VTab<'vtab> for ArrayTab {
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
fn open(&'vtab self) -> Result<ArrayTabCursor<'vtab>> {
|
fn open(&self) -> Result<ArrayTabCursor<'_>> {
|
||||||
Ok(ArrayTabCursor::new())
|
Ok(ArrayTabCursor::new())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -259,7 +259,7 @@ unsafe impl<'vtab> VTab<'vtab> for CSVTab {
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
fn open(&'vtab self) -> Result<CSVTabCursor<'vtab>> {
|
fn open(&self) -> Result<CSVTabCursor<'_>> {
|
||||||
Ok(CSVTabCursor::new(self.reader()?))
|
Ok(CSVTabCursor::new(self.reader()?))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -152,7 +152,7 @@ unsafe impl<'vtab> VTab<'vtab> for SeriesTab {
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
fn open(&'vtab self) -> Result<SeriesTabCursor<'vtab>> {
|
fn open(&self) -> Result<SeriesTabCursor<'_>> {
|
||||||
Ok(SeriesTabCursor::new())
|
Ok(SeriesTabCursor::new())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user