diff --git a/src/max_size.rs b/src/max_size.rs index 74f87c8..4dea531 100644 --- a/src/max_size.rs +++ b/src/max_size.rs @@ -2,7 +2,7 @@ extern crate alloc; #[cfg(feature = "alloc")] -use alloc::{rc::Rc, sync::Arc}; +use alloc::{boxed::Box, rc::Rc, sync::Arc}; use crate::varint::varint_max; use core::{