summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-11-26 20:37:12 +0000
committerGitHub <noreply@github.com>2021-11-26 20:37:12 +0000
commitb91bce3113c79728e84b1a24a565b5cac6333f52 (patch)
treec20a1e91837c155f9ad7086e8fe5b5beab48eabc
parent7c3121a6c807b2b170fda7bc466e2dc2d28e62f2 (diff)
parentd606293109ce3230e11518703fa234bbb64540cf (diff)
downloadnix-b91bce3113c79728e84b1a24a565b5cac6333f52.zip
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 <dario@deaktualisierung.org>
-rw-r--r--src/sys/signal.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sys/signal.rs b/src/sys/signal.rs
index e8c79d33..61bdc74a 100644
--- a/src/sys/signal.rs
+++ b/src/sys/signal.rs
@@ -868,8 +868,8 @@ pub fn sigprocmask(how: SigmaskHow, set: Option<&SigSet>, oldset: Option<&mut Si
/// is sent to all processes exclusing system processes.
/// - If less than `-1`, the signal is sent to all processes whose
/// process group ID is equal to the absolute value of `pid`.
-/// * `signal` - Signal to send. If 0, error checking if performed but no
-/// signal is actually sent.
+/// * `signal` - Signal to send. If `None`, error checking is performed
+/// but no signal is actually sent.
///
/// See Also
/// [`kill(2)`](https://pubs.opengroup.org/onlinepubs/9699919799/functions/kill.html)