diff options
| author | Thomas Bächler <thomas.baechler@gmx.de> | 2020-03-21 19:48:23 +0100 |
|---|---|---|
| committer | Thomas Bächler <thomas.baechler@gmx.de> | 2020-03-21 19:48:23 +0100 |
| commit | c8140a88f67cf1fea104b1aaa615af7816984615 (patch) | |
| tree | 04f0a756194d67eec457b152a67d33c3cb725db4 /src/test/rustdoc-ui/coverage/json.rs | |
| parent | 98803c182b2ba6ef5dccb6bf501958249295eac0 (diff) | |
| download | rust-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
