Skip to content

Conversation

@emilyyyylime
Copy link

It's also possible to use TryInto to convert std::time::Duration to time::Duration (this is what I did at first). But given that we're just printing those numbers nothing in the time crate is needed anyways and this code doesn't require any unwrap()

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.

1 participant