Skip to content

Commit 13792ec

Browse files
mlafeldtMaxxen
authored andcommitted
Fix mismatched_lifetime_syntaxes warnings
1 parent d69a5b6 commit 13792ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/duckdb/src/column.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ impl Statement<'_> {
144144
/// sure that current statement has already been stepped once before
145145
/// calling this method.
146146
#[cfg(feature = "column_decltype")]
147-
pub fn columns(&self) -> Vec<Column> {
147+
pub fn columns(&self) -> Vec<Column<'_>> {
148148
let n = self.column_count();
149149
let mut cols = Vec::with_capacity(n);
150150
for i in 0..n {

crates/duckdb/src/row.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ impl<'stmt> Row<'stmt> {
343343
Self::value_ref_internal(row, col, column)
344344
}
345345

346-
pub(crate) fn value_ref_internal(row: usize, col: usize, column: &ArrayRef) -> ValueRef {
346+
pub(crate) fn value_ref_internal(row: usize, col: usize, column: &ArrayRef) -> ValueRef<'_> {
347347
if column.is_null(row) {
348348
return ValueRef::Null;
349349
}

0 commit comments

Comments
 (0)