Fix lifetime on slice

This commit is contained in:
Steven Fackler 2015-02-19 23:52:17 -08:00
parent f63bdcc86d
commit e128096694

View File

@ -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()
}