about summary refs log tree commit diff
path: root/src/test/ui/refutable-pattern-errors.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-11-18 19:08:06 -0800
committerAlex Crichton <alex@alexcrichton.com>2018-11-18 19:08:06 -0800
commit86073253d563a7792765933f24acbf93fd3fee1d (patch)
tree3cdc782bfb1389c67d159df56950683557efa4c2 /src/test/ui/refutable-pattern-errors.rs
parenta9b791b3c0543120ed03e70600e6cf4f451b4124 (diff)
downloadrust-86073253d563a7792765933f24acbf93fd3fee1d.tar.gz
rust-86073253d563a7792765933f24acbf93fd3fee1d.zip
Increase `Duration` approximate equal threshold to 1us
Previously this threshold when testing was 100ns, but the Windows
documentation states:

> which is a high resolution (<1us) time stamp

which presumably means that we could have up to 1us resolution, which
means that 100ns doesn't capture "equivalent" time intervals due to
various bits of rounding here and there.

It's hoped that this..

Closes #56034
Diffstat (limited to 'src/test/ui/refutable-pattern-errors.rs')
0 files changed, 0 insertions, 0 deletions