From a585d99944bc8ad50c41eed2729ea3d6bc0abd7a Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Sun, 14 Aug 2022 09:23:39 -0600 Subject: [PATCH] fixup to "fix some doc lints" --- src/sys/signal.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/sys/signal.rs b/src/sys/signal.rs index 5e5e99f526..cd3e87ecab 100644 --- a/src/sys/signal.rs +++ b/src/sys/signal.rs @@ -911,13 +911,11 @@ pub fn sigprocmask(how: SigmaskHow, set: Option<&SigSet>, oldset: Option<&mut Si /// # Arguments /// /// * `pid` - Specifies which processes should receive the signal. -/// - If positive, specifies an individual process +/// - If positive, specifies an individual process. /// - If zero, the signal will be sent to all processes whose group /// ID is equal to the process group ID of the sender. This is a -#[cfg(target_os = "fuchsia")] -/// variant of `killpg`. -#[cfg(not(target_os = "fuchsia"))] -/// variant of [`killpg`]. +#[cfg_attr(target_os = "fuchsia", doc = "variant of `killpg`.")] +#[cfg_attr(not(target_os = "fuchsia"), doc = "variant of [`killpg`].")] /// - If `-1` and the process has super-user privileges, the signal /// is sent to all processes exclusing system processes. /// - If less than `-1`, the signal is sent to all processes whose