Skip to content

Commit

Permalink
Remove WaitIdStatus::as_raw.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed Jan 23, 2025
1 parent 149b1b4 commit 028a169
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/process/wait.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,6 @@ impl WaitIdStatus {
}
}

/// Returns a reference to the raw platform-specific `siginfo_t` struct.
#[inline]
pub const fn as_raw(&self) -> &backend::c::siginfo_t {
&self.0
}

#[cfg(linux_raw)]
fn si_code(&self) -> u32 {
self.0.si_code() as u32 // CLD_ consts are unsigned
Expand Down

0 comments on commit 028a169

Please sign in to comment.