fix(ironrdp-error): fix build with alloc feature (#514)

This commit is contained in:
Vladyslav Nikonov
2024-08-01 08:43:54 +00:00
committed by GitHub
parent 20e60bc415
commit 5406c286f4
+1 -1
View File
@@ -48,7 +48,7 @@ impl<Kind> Error<Kind> {
#[cfg(feature = "alloc")]
{
let mut this = self;
this.source = Some(Box::new(source));
this.source = Some(alloc::boxed::Box::new(source));
this
}