Move bounded type definitions to sp-runtime (#11645)
* Move bounded type definitions to sp-runtime * cargo fmt * Fix compile error Signed-off-by:Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Move TryCollect to sp-runtime * Write some docs * Import missing types Co-authored-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Showing
- substrate/frame/support/src/lib.rs 3 additions, 40 deletionssubstrate/frame/support/src/lib.rs
- substrate/frame/support/src/storage/bounded_btree_map.rs 4 additions, 485 deletionssubstrate/frame/support/src/storage/bounded_btree_map.rs
- substrate/frame/support/src/storage/bounded_btree_set.rs 4 additions, 447 deletionssubstrate/frame/support/src/storage/bounded_btree_set.rs
- substrate/frame/support/src/storage/bounded_vec.rs 2 additions, 974 deletionssubstrate/frame/support/src/storage/bounded_vec.rs
- substrate/frame/support/src/storage/weak_bounded_vec.rs 1 addition, 366 deletionssubstrate/frame/support/src/storage/weak_bounded_vec.rs
- substrate/frame/support/src/traits/misc.rs 1 addition, 11 deletionssubstrate/frame/support/src/traits/misc.rs
- substrate/primitives/runtime/src/bounded.rs 28 additions, 0 deletionssubstrate/primitives/runtime/src/bounded.rs
- substrate/primitives/runtime/src/bounded/bounded_btree_map.rs 517 additions, 0 deletions...trate/primitives/runtime/src/bounded/bounded_btree_map.rs
- substrate/primitives/runtime/src/bounded/bounded_btree_set.rs 479 additions, 0 deletions...trate/primitives/runtime/src/bounded/bounded_btree_set.rs
- substrate/primitives/runtime/src/bounded/bounded_vec.rs 998 additions, 0 deletionssubstrate/primitives/runtime/src/bounded/bounded_vec.rs
- substrate/primitives/runtime/src/bounded/weak_bounded_vec.rs 393 additions, 0 deletionssubstrate/primitives/runtime/src/bounded/weak_bounded_vec.rs
- substrate/primitives/runtime/src/lib.rs 43 additions, 0 deletionssubstrate/primitives/runtime/src/lib.rs
- substrate/primitives/runtime/src/traits.rs 11 additions, 0 deletionssubstrate/primitives/runtime/src/traits.rs
Please register or sign in to comment