Skip to content
Snippets Groups Projects
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 <bkchr@users.noreply.github.com>

* 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 <bkchr@users.noreply.github.com>

* fix rustdoc

* fix links

* undo link

Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
parent 4c984500
No related merge requests found
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