Lifetime elision

This commit is contained in:
gwenn
2020-06-01 18:42:30 +02:00
parent 52a80f95f7
commit c577a9d801
3 changed files with 3 additions and 3 deletions

View File

@@ -259,7 +259,7 @@ unsafe impl<'vtab> VTab<'vtab> for CSVTab {
Ok(())
}
fn open(&'vtab self) -> Result<CSVTabCursor<'vtab>> {
fn open(&self) -> Result<CSVTabCursor<'_>> {
Ok(CSVTabCursor::new(self.reader()?))
}
}