Skip to content

Commit

Permalink
Use preimported alloc
Browse files Browse the repository at this point in the history
  • Loading branch information
gavofyork committed Jun 11, 2022
1 parent c25f14a commit 7f8fdba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/max_encoded_len.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
use crate::{Compact, Encode};
use impl_trait_for_tuples::impl_for_tuples;
use core::{mem, marker::PhantomData};
use allow::boxed::Box;
use crate::alloc::boxed::Box;

/// Items implementing `MaxEncodedLen` have a statically known maximum encoded size.
///
Expand Down

0 comments on commit 7f8fdba

Please sign in to comment.