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

Simplify duration_format logic #18

Open
lelandjansen opened this issue Mar 31, 2019 · 0 comments
Open

Simplify duration_format logic #18

lelandjansen opened this issue Mar 31, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@lelandjansen
Copy link
Owner

duration_format returns a human-readable string for a std::time::Duration. We should simplify the logic when std::time::Duration::as_millis, std::time::Duration::as_float_secs, etc. are stabilized.

API docs: https://doc.rust-lang.org/std/time/struct.Duration.html
PR: rust-lang/rust#54361

Introduced by #13.

@lelandjansen lelandjansen added the enhancement New feature or request label Mar 31, 2019
@lelandjansen lelandjansen self-assigned this Mar 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant