Fix lifetime on slice
This commit is contained in:
parent
f63bdcc86d
commit
e128096694
@ -1669,7 +1669,7 @@ impl<'a> Row<'a> {
|
||||
}
|
||||
|
||||
/// Returns a slice describing the columns of the `Row`.
|
||||
pub fn columns(&self) -> &[Column] {
|
||||
pub fn columns(&self) -> &'a [Column] {
|
||||
self.stmt.columns()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user