sys: hide io_assert macro for now

too risky since errno-changing calls before it can ruin the
result

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2020-01-22 08:54:53 +01:00
parent 3312a7ad1b
commit fe5ab619fb

View File

@ -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]