Suggest nth(X) instead of skip(X).next()

This commit is contained in:
d-dorazio
2016-10-14 13:35:25 +02:00
parent 4fbd8906e1
commit 62831c6e29
5 changed files with 71 additions and 2 deletions

View File

@@ -372,6 +372,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
methods::EXTEND_FROM_SLICE,
methods::FILTER_NEXT,
methods::ITER_NTH,
methods::ITER_SKIP_NEXT,
methods::NEW_RET_NO_SELF,
methods::OK_EXPECT,
methods::OR_FUN_CALL,