Skip to content
Discussion options

You must be logged in to vote

This is a really good question and a good call-out. I can't come up with a great answer to this other than the fact that Span is supposed to be the primary duration type in Jiff. And so all datetime types return it as a result of subtraction. In particular, the SignedDuration type was added after the initial release of Jiff, and so wasn't present when I first wrote down the Sub impl for Timestamp.

In any case, I created #629 to track this.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BurntSushi
Comment options

Answer selected by avsaase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants