Closed
Description
Url
https://aptos.dev/en/build/smart-contracts/maps
Describe the content issue
There is a misspelled word in the code snippet within the main function of the 0x42::map_usage module
.
use aptos_framework::ordered_map;
let map = ordeded_map::new<u64, u64>();
correct version:
let map = ordered_map::new<u64, u64>();
However, the instantiation uses ordeded_map, which leads to a compilation error due to the typo.
Section
move-and-smart-contracts