Skip to content

Derive Ord for Timespec#1308

Merged
sunfishcode merged 1 commit intobytecodealliance:mainfrom
sylfn:timespec
Feb 5, 2025
Merged

Derive Ord for Timespec#1308
sunfishcode merged 1 commit intobytecodealliance:mainfrom
sylfn:timespec

Conversation

@sylfn
Copy link
Copy Markdown
Contributor

@sylfn sylfn commented Feb 2, 2025

Meaningless if Timespecs were from different kind (duration and timestamp).

Maybe add conversion to/from core::time::Duration and some arithmetic?

@sunfishcode
Copy link
Copy Markdown
Member

Makes sense to me. An yes, I'd accept PRs adding conversions to/from core::time::Duration and some arithmetic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants