mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 13:27:57 +00:00
Modify doublemap syntax (#4576)
* modify doublemap syntax * Apply suggestions from code review Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
@@ -562,9 +562,9 @@ mod test_append_and_len {
|
||||
MapVecWithDefault: map u32 => Vec<u32> = vec![6, 9];
|
||||
OptionMapVec: map u32 => Option<Vec<u32>>;
|
||||
|
||||
DoubleMapVec: double_map u32, blake2_256(u32) => Vec<u32>;
|
||||
DoubleMapVecWithDefault: double_map u32, blake2_256(u32) => Vec<u32> = vec![6, 9];
|
||||
OptionDoubleMapVec: double_map u32, blake2_256(u32) => Option<Vec<u32>>;
|
||||
DoubleMapVec: double_map u32, u32 => Vec<u32>;
|
||||
DoubleMapVecWithDefault: double_map u32, u32 => Vec<u32> = vec![6, 9];
|
||||
OptionDoubleMapVec: double_map u32, u32 => Option<Vec<u32>>;
|
||||
|
||||
LinkedMapVec: linked_map u32 => Vec<u32>;
|
||||
LinkedMapVecWithDefault: linked_map u32 => Vec<u32> = vec![6, 9];
|
||||
|
||||
Reference in New Issue
Block a user