From 5406c286f4b98150365086cc2feabfbcdf3902b0 Mon Sep 17 00:00:00 2001 From: Vladyslav Nikonov Date: Thu, 1 Aug 2024 11:43:54 +0300 Subject: [PATCH] fix(ironrdp-error): fix build with `alloc` feature (#514) --- crates/ironrdp-error/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ironrdp-error/src/lib.rs b/crates/ironrdp-error/src/lib.rs index b3d26527..5d05b422 100644 --- a/crates/ironrdp-error/src/lib.rs +++ b/crates/ironrdp-error/src/lib.rs @@ -48,7 +48,7 @@ impl Error { #[cfg(feature = "alloc")] { let mut this = self; - this.source = Some(Box::new(source)); + this.source = Some(alloc::boxed::Box::new(source)); this }