Skip to content

Commit

Permalink
Update row.rs
Browse files Browse the repository at this point in the history
Row::get should track caller for a better development experience.
  • Loading branch information
karambarakat authored Jan 9, 2025
1 parent 6b33766 commit c38280d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sqlx-core/src/row.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>,
Expand Down

0 comments on commit c38280d

Please sign in to comment.