Commit b77d3f91 authored by Kian Paimani's avatar Kian Paimani Committed by GitHub
Browse files

Minor improvements to `bounded_vec` and `defensive`. (#10873)



* Fix a few things in bounded_vec

* add test for try_extend

* Update frame/support/src/storage/bounded_vec.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* some review comments

* use swap

* remove clone

* use pop instead of truncate

* remove warn

* review comments

* Update frame/support/src/storage/bounded_vec.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* fix rustdoc

* fix links

* undo link

Co-authored-by: default avatarBastian Köcher <[email protected]>
parent 4c984500
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment