summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorCorey Richardson <corey@octayn.net>2017-09-24 08:59:43 -0400
committerGraham Northup <grahamnorthup@yahoo.com>2017-09-24 19:01:22 -0400
commit5f1e73ab5bd0709dd408064c06f2717182777537 (patch)
treebc66a94450cc3ab7312f73df404463d44f1c1290 /.gitignore
parentf4c1ee3bbd1d548ce9c0c4cf15e9bd867adca421 (diff)
Clean up some sub-optimal slice handling
Clippy noticed that update_from looked like a manual copy_from_slice, which alerted me to sum_into and mul_into also being suboptimal. With the new changes, the generated code is much cleaner: it lacks an extra "unnecessary" branch and is about 30% shorter (for those methods). I also think the code is a bit easier to read :)
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions