mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 10:05:06 +03:00
e6068828bd
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.