From 61cd0ac2bad91dbd43a1d770b46b2d4f792b4d04 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 13 Dec 2021 07:46:29 +0100 Subject: [PATCH] proxmox-sys: fix glob-import of anyhow will break usage of the `Result::Ok()' with anyhow 1.0.49+ as that added a new Ok helper, so a glob-import would make that shadow the core one. Signed-off-by: Thomas Lamprecht --- proxmox-sys/src/linux/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox-sys/src/linux/mod.rs b/proxmox-sys/src/linux/mod.rs index ad0f79b6..7477a4e6 100644 --- a/proxmox-sys/src/linux/mod.rs +++ b/proxmox-sys/src/linux/mod.rs @@ -1,6 +1,6 @@ //! Linux specific helpers and syscall wrapper -use anyhow::*; +use anyhow::{bail,Error}; use proxmox_io::vec;