4 ms·
Yes!! I have been waiting for the new time helpers to arrive in stable. It may be a small thing but is so much nicer and makes Rust feel more like a higher leve
by eberkund 8y ago
Yes!! I have been waiting for the new time helpers to arrive in stable. It may be a small thing but is so much nicer and makes Rust feel more like a higher level language when I can do `some_time.subsec_millis()` rather than `some_time.subsec_nanos() / 1_000_000`.
- AndrewGaspar 8y agoHeh, was just bemoaning this two days ago. Glad I can use them now.
- oddity 8y agoI don't understand your comment. It feels like a higher level language because you can use a different unit for measuring time?
- pimeys 8y agoHaving written enough of boilerplate to do millisecond timestamps, or including a quite big chrono library for a nicer interface for a few time operations, these additions are quite luxurious.