diff options
| author | Vincent Esche <regexident@gmail.com> | 2020-07-13 13:47:18 +0200 |
|---|---|---|
| committer | Vincent Esche <regexident@gmail.com> | 2020-07-14 10:25:14 +0200 |
| commit | 538f15776ba1629ff77e5e78e62c0048f8648498 (patch) | |
| tree | 75e39802c42dc8d02ec6ab724376326e22a643e4 /src/libstd/sys/windows/process.rs | |
| parent | 9d09331e00b02f81c714b0c41ce3a38380dd36a2 (diff) | |
| download | rust-538f15776ba1629ff77e5e78e62c0048f8648498.tar.gz rust-538f15776ba1629ff77e5e78e62c0048f8648498.zip | |
Added docs for `From<c_int>` for `ExitStatus`
Diffstat (limited to 'src/libstd/sys/windows/process.rs')
| -rw-r--r-- | src/libstd/sys/windows/process.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/sys/windows/process.rs b/src/libstd/sys/windows/process.rs index 77f9a5c9dc7..7d6d4775eec 100644 --- a/src/libstd/sys/windows/process.rs +++ b/src/libstd/sys/windows/process.rs @@ -378,6 +378,7 @@ impl ExitStatus { } } +/// Converts a raw `c::DWORD` to a type-safe `ExitStatus` by wrapping it without copying. impl From<c::DWORD> for ExitStatus { fn from(u: c::DWORD) -> ExitStatus { ExitStatus(u) |
