Skip to content
Snippets Groups Projects
Commit 1ce221f0 authored by Luke Schoen's avatar Luke Schoen Committed by Bastian Köcher
Browse files

docs: Rephrase EnumerableStorageMap comment in Rustdocs (#2647)

parent 3527f084
No related merge requests found
......@@ -332,8 +332,8 @@ impl<K: Codec, V: Codec, U> StorageMap<K, V> for U where U: hashed::generator::S
/// A storage map that can be enumerated.
///
/// Note that type is primarily useful for off-chain computations.
/// Runtime implementors should avoid enumerating storage entries.
/// Primarily useful for off-chain computations.
/// Runtime implementors should avoid enumerating storage entries on-chain.
pub trait EnumerableStorageMap<K: Codec, V: Codec>: StorageMap<K, V> {
/// Return current head element.
fn head() -> Option<K>;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment