diff options
| author | John Kugelman <john@kugelman.name> | 2021-10-30 23:37:32 -0400 |
|---|---|---|
| committer | John Kugelman <john@kugelman.name> | 2021-10-30 23:37:32 -0400 |
| commit | a81d4b18ea7ee03733e983974400816684f78ebe (patch) | |
| tree | 6ad8f58e2ef27985c4350a332d5e8ec77ee2b3f9 /library/std/src/os/unix/process.rs | |
| parent | e249ce6b2345587d6e11052779c86adbad626dff (diff) | |
| download | rust-a81d4b18ea7ee03733e983974400816684f78ebe.tar.gz rust-a81d4b18ea7ee03733e983974400816684f78ebe.zip | |
Add #[must_use] to remaining std functions (O-Z)
Diffstat (limited to 'library/std/src/os/unix/process.rs')
| -rw-r--r-- | library/std/src/os/unix/process.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/os/unix/process.rs b/library/std/src/os/unix/process.rs index 9b94615d247..286a7c3b386 100644 --- a/library/std/src/os/unix/process.rs +++ b/library/std/src/os/unix/process.rs @@ -436,6 +436,7 @@ impl From<crate::process::ChildStderr> for OwnedFd { } /// Returns the OS-assigned process identifier associated with this process's parent. +#[must_use] #[stable(feature = "unix_ppid", since = "1.27.0")] pub fn parent_id() -> u32 { crate::sys::os::getppid() |
