2022-02-17 10:59:18 -06:00
|
|
|
#![crate_name = "foo"]
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has 'foo/constant.HOUR_IN_SECONDS.html'
|
|
|
|
//@ has - '//*[@class="rust item-decl"]//code' 'pub const HOUR_IN_SECONDS: u64 = _; // 3_600u64'
|
2022-02-17 10:59:18 -06:00
|
|
|
pub const HOUR_IN_SECONDS: u64 = 60 * 60;
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has 'foo/constant.NEGATIVE.html'
|
|
|
|
//@ has - '//*[@class="rust item-decl"]//code' 'pub const NEGATIVE: i64 = _; // -3_600i64'
|
2022-02-17 10:59:18 -06:00
|
|
|
pub const NEGATIVE: i64 = -60 * 60;
|