]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #53636 - frewsxcv:frewsxcv-nth, r=rkruppe
authorkennytm <kennytm@gmail.com>
Fri, 24 Aug 2018 08:44:50 +0000 (16:44 +0800)
committerkennytm <kennytm@gmail.com>
Fri, 24 Aug 2018 11:24:44 +0000 (19:24 +0800)
Prefer `.nth(n)` over `.skip(n).next()`.

Found by clippy.

1  2 
src/libcore/fmt/mod.rs
src/librustc_typeck/check/mod.rs

Simple merge
Simple merge