We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
impl Format for core::time::Duration
impl Format for core::time::Duration prints "Duration {{ secs: {=u64}, nanos: {=u32} }}", duration.as_secs(), duration.subsec_nanos()
"Duration {{ secs: {=u64}, nanos: {=u32} }}", duration.as_secs(), duration.subsec_nanos()
It would be nicer to have it print "{=u64:tus}", duration.as_micros() as u64, because tus prints timestamps nicely.
"{=u64:tus}", duration.as_micros() as u64
tus
The text was updated successfully, but these errors were encountered:
Or even {=u64}.{=u32:09} would be better.
{=u64}.{=u32:09}
Sorry, something went wrong.
No branches or pull requests
impl Format for core::time::Duration
prints"Duration {{ secs: {=u64}, nanos: {=u32} }}", duration.as_secs(), duration.subsec_nanos()
It would be nicer to have it print
"{=u64:tus}", duration.as_micros() as u64
, becausetus
prints timestamps nicely.The text was updated successfully, but these errors were encountered: