Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
danforbes committed Apr 21, 2020
1 parent 2f27588 commit 8bdb445
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion current/runtime/storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ in addition to the other map methods. Note that for Iterable Storage Double Maps
[IterableStorageDoubleMap#iter(key1)](https://substrate.dev/rustdocs/master/frame_support/storage/trait.IterableStorageDoubleMap.html#tymethod.iter)
* `drain` - Remove all elements from the map and iterate through them in no particular order. If you add elements to the map while
doing this, you'll get undefined results. Docs:
[IterableStorageMap#drain()](https://substrate.dev/rustdocs/master/frame_support/storage/trait.IterableStorageMap.html#tymethod.drain), [IterableStorageDoubleMap#drain(key1)](https://substrate.dev/rustdocs/master/frame_support/storage/trait.IterableStorageDoubleMap.html#tymethod.drain)
[IterableStorageMap#drain()](https://substrate.dev/rustdocs/master/frame_support/storage/trait.IterableStorageMap.html#tymethod.drain),
[IterableStorageDoubleMap#drain(key1)](https://substrate.dev/rustdocs/master/frame_support/storage/trait.IterableStorageDoubleMap.html#tymethod.drain)
* `translate` - Use the provided function to translate all elements of the map, in no particular order. To remove an element from the
map, return `None` from the translation function. Docs:
[IterableStorageMap#translate(fn)](https://substrate.dev/rustdocs/master/frame_support/storage/trait.IterableStorageMap.html#tymethod.translate),
Expand Down

0 comments on commit 8bdb445

Please sign in to comment.