Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(prost-types): Add normalized functions #1158

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

caspermeijn
Copy link
Collaborator

Make normalize easier to use, by introducing Duration::normalized and Timestamp::normalized. They do the same as there normalize equivalents, but return a copy for ease of use.

Make `normalize` easier to use, by introducing `Duration::normalized` and `Timestamp::normalized`. They do the same as there `normalize` equivalents, but return a copy for ease of use.
@caspermeijn caspermeijn added this pull request to the merge queue Sep 20, 2024
Merged via the queue into tokio-rs:master with commit 8d4cac5 Sep 20, 2024
16 checks passed
@caspermeijn caspermeijn deleted the normalized branch September 20, 2024 05:43
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