Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
uint committed Jul 18, 2024
1 parent eb00547 commit ac53bb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/storey/containers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ To construct a container, you need to provide a single byte. This byte is used
to distinguish between different "root" containers in the same storage space.

```rust template="storage"
use cw_storey::containers::Item;
use cw_storey::containers::{Item, Map};

let item: Item<u32> = Item::new(0); // byte 0 is used as the namespace
let map: Map<String, Item<u32>> = Map::new(1); // byte 1 is used as the namespace
Expand Down

0 comments on commit ac53bb6

Please sign in to comment.