Typo in Code Snippet (ordeded_map instead of ordered_map) #949
Labels
documentation
Improvements or additions to documentation
move-and-smart-contracts
All content under https://aptos.dev/en/build/smart-contracts
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
.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
The text was updated successfully, but these errors were encountered: