Skip to content

Commit d606293

Browse files
committed
Update doc comment to match type Option<Signal>
This has previously been done for `killpg`, but not `kill` it seems.
1 parent 7c3121a commit d606293

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sys/signal.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -868,8 +868,8 @@ pub fn sigprocmask(how: SigmaskHow, set: Option<&SigSet>, oldset: Option<&mut Si
868868
/// is sent to all processes exclusing system processes.
869869
/// - If less than `-1`, the signal is sent to all processes whose
870870
/// process group ID is equal to the absolute value of `pid`.
871-
/// * `signal` - Signal to send. If 0, error checking if performed but no
872-
/// signal is actually sent.
871+
/// * `signal` - Signal to send. If `None`, error checking is performed
872+
/// but no signal is actually sent.
873873
///
874874
/// See Also
875875
/// [`kill(2)`](https://pubs.opengroup.org/onlinepubs/9699919799/functions/kill.html)

0 commit comments

Comments
 (0)