# First contribution, guideline questions: impl Default for std::time::Instant

**URL:** <https://internals.rust-lang.org/t/first-contribution-guideline-questions-impl-default-for-std-instant/11043>\
**Category:** libs\
**Created:** [October 2, 2019, 4:06pm UTC](https://internals.rust-lang.org/t/first-contribution-guideline-questions-impl-default-for-std-instant/11043 "2019-10-02T16:06:24Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![PO8](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/po8/32/5588_2.png) [@PO8](https://internals.rust-lang.org/u/PO8)\
**Post date:** [October 7, 2019, 9:25am UTC](https://internals.rust-lang.org/t/first-contribution-guideline-questions-impl-default-for-std-instant/11043/20 "2019-10-07T09:25:10Z")

</div>

If I understand everything correctly `Instant::now()` is not a `const` function (and I think can't be, since it may return a different value on every call), so it couldn't be used with Field Defaults as specified in the linked draft RFC.

I personally am a fan of the idea that `Default` values are invariant across runs of the program etc. I am uncomfortable that there is a default for `RandomState`, although I understand the use in hashing and don't have a great alternative to suggest.

---

_[View the full topic](https://internals.rust-lang.org/t/first-contribution-guideline-questions-impl-default-for-std-instant/11043)._
