about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/json.rs
diff options
context:
space:
mode:
authorThomas Bächler <thomas.baechler@gmx.de>2020-03-21 19:48:23 +0100
committerThomas Bächler <thomas.baechler@gmx.de>2020-03-21 19:48:23 +0100
commitc8140a88f67cf1fea104b1aaa615af7816984615 (patch)
tree04f0a756194d67eec457b152a67d33c3cb725db4 /src/test/rustdoc-ui/coverage/json.rs
parent98803c182b2ba6ef5dccb6bf501958249295eac0 (diff)
downloadrust-c8140a88f67cf1fea104b1aaa615af7816984615.tar.gz
rust-c8140a88f67cf1fea104b1aaa615af7816984615.zip
Return NonZeroU64 from ThreadId::as_u64.
As discussed in #67939, this allows turning Option<ThreadId> into Option<NonZeroU64> which
can then be stored inside an AtomicU64.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions