about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorAndre Bogus <bogusandre@gmail.com>2018-08-13 23:17:45 +0200
committerAndre Bogus <bogusandre@gmail.com>2018-08-15 13:54:47 +0200
commit4cae6650fd9f25c4fb1338c896783193392be1af (patch)
treec933b4557c6144e2366d1171c6b1aab67267d13f /src/test/incremental/thinlto
parent81cfaad030435aae447d73c66123b3df856c09cb (diff)
downloadrust-4cae6650fd9f25c4fb1338c896783193392be1af.tar.gz
rust-4cae6650fd9f25c4fb1338c896783193392be1af.zip
Two small improvements
In `librustc_apfloat/ieee.rs`, use the iterator.[r]find methods to
simplify the code. In `libserialize/json.rs`, make use of the fact
that `Vec.last` on an empty `Vec` returns `None` to simplify the
code to a single match.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions