From fe5ab619fb829bfb127ddefb5ab8715d7ee0e807 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 22 Jan 2020 08:54:53 +0100 Subject: [PATCH] sys: hide io_assert macro for now too risky since errno-changing calls before it can ruin the result Signed-off-by: Wolfgang Bumiller --- proxmox/src/sys/macros.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/proxmox/src/sys/macros.rs b/proxmox/src/sys/macros.rs index 27aff36b..17caa2b5 100644 --- a/proxmox/src/sys/macros.rs +++ b/proxmox/src/sys/macros.rs @@ -27,6 +27,7 @@ macro_rules! io_bail { }}; } +#[doc(hidden)] /// Non-panicking assertion: shortcut for returning an `io::Error` if the condition is not met. /// Essentially: `if !expr { io_bail_last!() }`. #[macro_export]