Macro gclient::ext::sp_core::bounded_vec
macro_rules! bounded_vec { ($ ($values:expr),* $(,)?) => { ... }; ( $value:expr ; $repetition:expr ) => { ... }; }
Expand description
Build a bounded vec 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.