diff options
| author | Andre Bogus <bogusandre@gmail.com> | 2018-08-13 23:17:45 +0200 |
|---|---|---|
| committer | Andre Bogus <bogusandre@gmail.com> | 2018-08-15 13:54:47 +0200 |
| commit | 4cae6650fd9f25c4fb1338c896783193392be1af (patch) | |
| tree | c933b4557c6144e2366d1171c6b1aab67267d13f /src/test/incremental/thinlto | |
| parent | 81cfaad030435aae447d73c66123b3df856c09cb (diff) | |
| download | rust-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
