]> git.lizzy.rs Git - rust.git/commit
Make `BTreeMap::clone()` not allocate when cloning an empty tree.
authorNicholas Nethercote <nnethercote@mozilla.com>
Fri, 29 Jun 2018 07:02:38 +0000 (17:02 +1000)
committerNicholas Nethercote <nnethercote@mozilla.com>
Mon, 2 Jul 2018 03:03:31 +0000 (13:03 +1000)
commitf46f05bae8d81246f1ad93ccee051a13c9be393e
tree4d3f7645c7a5ee3bfaebb31c80e48c62d43224f8
parenta2be769fd50403a07c45677f8f285491c8e90d74
Make `BTreeMap::clone()` not allocate when cloning an empty tree.
src/liballoc/collections/btree/map.rs