Implement binary_search for `collections::Vec` (#836)
* [storage] Implement binary_search * [storage] Add binary_search testcase for missing smaller element * [storage] use indexing instead of Vec::get Co-authored-by:Robin Freyler <robbepop@web.de> * [storage] Port binary_search tests from core * [storage] Format tests * [storage] Format tests * Remove old comment Co-authored-by:
Robin Freyler <robbepop@web.de> * [storage] Incorporate review feedback * [CI] add comparator to spellcheck Porting binary_search to the storage Vec, including the documentation found in core, led to a failure in spellcheck. Since core is considered to be correct, it is updated on spellcheck. * incorporate review feedback * add permalink to stdlib source * Split long line * fix examples * RustFmt the doc examples Co-authored-by:
Robin Freyler <robbepop@web.de> Co-authored-by:
Hernando Castano <hernando@hcastano.com>
Please register or sign in to comment