mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-06 22:00:02 +00:00
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.
|
/// Non-panicking assertion: shortcut for returning an `io::Error` if the condition is not met.
|
||||||
/// Essentially: `if !expr { io_bail_last!() }`.
|
/// Essentially: `if !expr { io_bail_last!() }`.
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
|
Loading…
Reference in New Issue
Block a user