Update row.rs

Row::get should track caller for a better development experience.
This commit is contained in:
Karam Barakat 2025-01-08 20:17:59 -08:00 committed by Austin Bonander
parent 6b337668de
commit b386862ed5

View file

@ -64,6 +64,7 @@ pub trait Row: Unpin + Send + Sync + 'static {
/// See [`try_get`](Self::try_get) for a non-panicking version.
///
#[inline]
#[track_caller]
fn get<'r, T, I>(&'r self, index: I) -> T
where
I: ColumnIndex<Self>,