about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-02-23 09:25:29 +0100
committerGitHub <noreply@github.com>2019-02-23 09:25:29 +0100
commit73e661a0a5acf98ae932cceca00212578aeeea33 (patch)
tree1214bd97d1bc2ab3a7a5709c667c5b8f7e225fcf /src/liballoc
parent18dd2d2fbe3cacc4bea71c0a7df831a62605a367 (diff)
parentc6d24cd50435f008cc8bf1a00a656b36ca892b5d (diff)
downloadrust-73e661a0a5acf98ae932cceca00212578aeeea33.tar.gz
rust-73e661a0a5acf98ae932cceca00212578aeeea33.zip
Rollup merge of #58595 - stjepang:make-duration-consts-associated, r=oli-obk
Turn duration consts into associated consts

As suggested in https://github.com/rust-lang/rust/issues/57391#issuecomment-459658236, I'm moving `Duration` constants (`SECOND`, `MILLISECOND` and so on; currently behind unstable `duration_constants` feature) into the `impl Duration` block.

cc @frewsxcv @SimonSapin
Diffstat (limited to 'src/liballoc')
0 files changed, 0 insertions, 0 deletions