]> git.lizzy.rs Git - rust.git/commit
chains: minor fixups
authorNick Cameron <ncameron@mozilla.com>
Wed, 11 Jul 2018 02:56:26 +0000 (14:56 +1200)
committerNick Cameron <ncameron@mozilla.com>
Tue, 24 Jul 2018 03:43:29 +0000 (15:43 +1200)
commit5bc27593f44a7c2108ca1a69eba2d34b3db90935
treec534386fd4c60c7616fea9a15eb5d212f1c47b22
parent467b095d48ebf5f5e057e1a2b4c1c25aa0375ea1
chains: minor fixups

* remove unnecessary clone
* comment formatting
* fix bug with `?` collection
* respect the heuristic if the root is more than just the parent
src/chains.rs