mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-23 12:16:25 +00:00
docs: Rephrase EnumerableStorageMap comment in Rustdocs (#2647)
This commit is contained in:
1 parent
3527f08479
commit
1ce221f0d8
1 file changed
+2
-2
@@ -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>;
|
||||
|
||||
Reference in new issue
Block a user