forked from Proxmox/proxmox
lang: rustfmt
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
0eeb0dd17c
commit
ae9d6e255c
@ -10,7 +10,6 @@ pub fn io_err_other<E: ToString>(e: E) -> io::Error {
|
|||||||
io::Error::new(std::io::ErrorKind::Other, e.to_string())
|
io::Error::new(std::io::ErrorKind::Other, e.to_string())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// Like anyhow's `format_err` but producing a `std::io::Error`.
|
/// Like anyhow's `format_err` but producing a `std::io::Error`.
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
macro_rules! io_format_err {
|
macro_rules! io_format_err {
|
||||||
|
Loading…
Reference in New Issue
Block a user