Skip to content

Commit

Permalink
Revert "Remove unnecessary imports"
Browse files Browse the repository at this point in the history
This reverts commit 0520713.
  • Loading branch information
cmichi committed Dec 17, 2020
1 parent 0520713 commit d65b466
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/storage/src/collections/stash/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ use crate::{
};
use ink_primitives::Key;

#[cfg(doc)]
use crate::traits::SpreadLayout;

/// An index into the stash.
type Index = u32;

Expand Down
3 changes: 3 additions & 0 deletions crates/storage/src/lazy/lazy_hmap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ use ink_prelude::{
};
use ink_primitives::Key;

#[cfg(doc)]
use crate::lazy::LazyIndexMap;

/// The map for the contract storage entries.
///
/// # Note
Expand Down

0 comments on commit d65b466

Please sign in to comment.