Skip to content

Commit 1ab06ce

Browse files
committed
fix broken documentation link in
fix broken intra-doc link from 'Error(Errno::EOPNOTSUPP)' to 'Errno::ENOTSUP' to match the actual error returned by the code and fix CI documentation build.
1 parent c841902 commit 1ab06ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sys/signal.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@ pub unsafe fn sigaction(signal: Signal, sigaction: &SigAction) -> Result<SigActi
929929
///
930930
/// # Errors
931931
///
932-
/// Returns [`Error(Errno::EOPNOTSUPP)`] if `handler` is
932+
/// Returns [`Errno::ENOTSUP`] if `handler` is
933933
/// [`SigAction`][SigActionStruct]. Use [`sigaction`][SigActionFn] instead.
934934
///
935935
/// `signal` also returns any error from `libc::signal`, such as when an attempt

0 commit comments

Comments
 (0)