Skip to content

Commit

Permalink
Add #[track_caller] to LocalResult::unwrap
Browse files Browse the repository at this point in the history
  • Loading branch information
pitdicker committed May 4, 2023
1 parent 895d3b8 commit b85d3e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/offset/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ impl<Tz: TimeZone> LocalResult<Date<Tz>> {
}
}

#[track_caller]
impl<T: fmt::Debug> LocalResult<T> {
/// Returns the single unique conversion result, or panics accordingly.
#[must_use]
Expand Down

0 comments on commit b85d3e4

Please sign in to comment.