From c704016cff6889f11bed022ba030f4d825287782 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Thu, 28 Oct 2021 19:21:54 +0200 Subject: [PATCH] Remove uses of alloc::prelude alloc::prelude has been removed in https://github.com/rust-lang/rust/pull/89898, effective since nightly-2021-10-17. --- src/syscalls/interfaces/uhyve.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/syscalls/interfaces/uhyve.rs b/src/syscalls/interfaces/uhyve.rs index 7d4086e19c..ed3fec0448 100644 --- a/src/syscalls/interfaces/uhyve.rs +++ b/src/syscalls/interfaces/uhyve.rs @@ -5,8 +5,7 @@ // http://opensource.org/licenses/MIT>, at your option. This file may not be // copied, modified, or distributed except according to those terms. -use alloc::prelude::v1::Box; -use alloc::vec::Vec; +use alloc::{boxed::Box, vec::Vec}; use core::mem; #[cfg(target_arch = "x86_64")]