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:
parent
3312a7ad1b
commit
fe5ab619fb
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user