Skip to content

Commit b91bce3

Browse files
bors[bot]dario23
andauthored
Merge #1598
1598: Update doc comment to match type `Option<Signal>` r=asomers a=dario23 This has previously been done for `killpg`, but not `kill` it seems. Co-authored-by: Johannes Schilling <[email protected]>
2 parents 7c3121a + d606293 commit b91bce3

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)