diff --git a/src/vtab/array.rs b/src/vtab/array.rs index f1d793b..644b468 100644 --- a/src/vtab/array.rs +++ b/src/vtab/array.rs @@ -119,7 +119,7 @@ unsafe impl<'vtab> VTab<'vtab> for ArrayTab { Ok(()) } - fn open(&'vtab self) -> Result> { + fn open(&self) -> Result> { Ok(ArrayTabCursor::new()) } } diff --git a/src/vtab/csvtab.rs b/src/vtab/csvtab.rs index 21b8131..79ec5da 100644 --- a/src/vtab/csvtab.rs +++ b/src/vtab/csvtab.rs @@ -259,7 +259,7 @@ unsafe impl<'vtab> VTab<'vtab> for CSVTab { Ok(()) } - fn open(&'vtab self) -> Result> { + fn open(&self) -> Result> { Ok(CSVTabCursor::new(self.reader()?)) } } diff --git a/src/vtab/series.rs b/src/vtab/series.rs index 0a129f2..ed67f16 100644 --- a/src/vtab/series.rs +++ b/src/vtab/series.rs @@ -152,7 +152,7 @@ unsafe impl<'vtab> VTab<'vtab> for SeriesTab { Ok(()) } - fn open(&'vtab self) -> Result> { + fn open(&self) -> Result> { Ok(SeriesTabCursor::new()) } }