about summary refs log tree commit diff
path: root/src/test/ui/const-generics/array-size-in-generic-struct-param.rs
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-01-13 16:44:24 +0900
committerGitHub <noreply@github.com>2020-01-13 16:44:24 +0900
commit87bdc8eb73b5dd48f58bca00b307cbca1351b2f9 (patch)
tree731b779310aa28b33dc1108624e9d96e60db1c64 /src/test/ui/const-generics/array-size-in-generic-struct-param.rs
parent574ef55ea73ba1bb2848b54e5ff18a912accc719 (diff)
parent827ee7a70adf923c3202c714b81a3a8b6c9ea29c (diff)
downloadrust-87bdc8eb73b5dd48f58bca00b307cbca1351b2f9.tar.gz
rust-87bdc8eb73b5dd48f58bca00b307cbca1351b2f9.zip
Rollup merge of #68161 - ruuda:fix-instant-docs, r=rkruppe
Fix system call docs for time::Instant

The link for UNIX was pointing to the Cloud ABI docs. It should have been pointing to the `clock_gettime` docs instead. A similar table is repeated in the docs for `SystemTime`, but there the UNIX entry was already correct.

`clock_gettime(CLOCK_MONOTONIC)` is the current implementation: https://github.com/rust-lang/rust/blob/3ebcfa1451cfedc13a07e6353d8ade9742dfdc2a/src/libstd/sys/unix/time.rs#L274
https://github.com/rust-lang/rust/blob/3ebcfa1451cfedc13a07e6353d8ade9742dfdc2a/src/libstd/sys/unix/time.rs#L348-L352

r? @steveklabnik
Diffstat (limited to 'src/test/ui/const-generics/array-size-in-generic-struct-param.rs')
0 files changed, 0 insertions, 0 deletions