Skip to content

Commit

Permalink
span: add support for absolute durations
Browse files Browse the repository at this point in the history
This makes it possible to use `Span::checked_add` with `SignedDuration`
and `std::time::Duration`. We don't need to add any new "target" types
because we already had a `SpanArithmetic`. So mostly this was just about
adding new trait impls and support for adding an absolute duration
directly to a `Span`.
  • Loading branch information
BurntSushi committed Aug 18, 2024
1 parent 8eb4f80 commit 9da0595
Showing 1 changed file with 297 additions and 126 deletions.
Loading

0 comments on commit 9da0595

Please sign in to comment.