From 9045f2ee541325808dcca37d5b4bf5a194f910c4 Mon Sep 17 00:00:00 2001 From: caltechustc Date: Sat, 23 May 2026 16:05:49 +0800 Subject: [PATCH] chore: Update API documentation links Signed-off-by: caltechustc --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 4b2ea8e..5449508 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -37,8 +37,8 @@ use std::io; /// calls [`strerror_r`][1] under POSIX, and [`FormatMessageW`][2] on /// Windows. /// -/// [1]: http://pubs.opengroup.org/onlinepubs/009695399/functions/strerror.html -/// [2]: https://msdn.microsoft.com/en-us/library/windows/desktop/ms679351%28v=vs.85%29.aspx +/// [1]: https://pubs.opengroup.org/onlinepubs/009695399/functions/strerror.html +/// [2]: https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-formatmessage #[derive(Copy, Clone, Eq, Ord, PartialEq, PartialOrd, Hash)] pub struct Errno(pub i32);