diff options
author | Alan Somers <asomers@gmail.com> | 2022-08-11 17:29:31 -0600 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2022-08-14 09:53:42 -0600 |
commit | 2cba3afa78d1eed14db72c0f5f6ab9393efb6eb1 (patch) | |
tree | c6cfad985a9125d8a9310d4302d3172230a23e2a /src/sys | |
parent | dde5f86f41dcaa9822a7ac623afb126352a48bf6 (diff) | |
download | nix-2cba3afa78d1eed14db72c0f5f6ab9393efb6eb1.zip |
Raise the MSRV to 1.56.1 in anticipation of the next release
And fix some documentation lints warned about by the newer rustdoc.
Diffstat (limited to 'src/sys')
-rw-r--r-- | src/sys/signal.rs | 5 | ||||
-rw-r--r-- | src/sys/socket/addr.rs | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/sys/signal.rs b/src/sys/signal.rs index 0da9c74a..cd3e87ec 100644 --- a/src/sys/signal.rs +++ b/src/sys/signal.rs @@ -911,10 +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 -/// 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 diff --git a/src/sys/socket/addr.rs b/src/sys/socket/addr.rs index ad917cd0..6b2ba21c 100644 --- a/src/sys/socket/addr.rs +++ b/src/sys/socket/addr.rs @@ -2244,7 +2244,7 @@ pub mod sys_control { /// /// # References /// - /// https://developer.apple.com/documentation/kernel/sockaddr_ctl + /// <https://developer.apple.com/documentation/kernel/sockaddr_ctl> #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] #[repr(transparent)] pub struct SysControlAddr(pub(in super::super) libc::sockaddr_ctl); |