referrerpolicy=no-referrer-when-downgrade

Macro sp_core::bounded_btree_map

macro_rules! bounded_btree_map {
    ($ ( $key:expr => $value:expr ),* $(,)?) => { ... };
}
Expand description

Build a bounded btree-map from the given literals.

The type of the outcome must be known.

Will not handle any errors and just panic if the given literals cannot fit in the corresponding bounded vec type. Thus, this is only suitable for testing and non-consensus code.