Make iter_nth work for Vecs too

This commit is contained in:
Devon Hollowood
2016-06-16 02:02:00 -07:00
parent 7764dc5ef4
commit 74025be59d
5 changed files with 46 additions and 19 deletions

View File

@@ -349,6 +349,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
methods::CLONE_ON_COPY,
methods::EXTEND_FROM_SLICE,
methods::FILTER_NEXT,
methods::ITER_NTH,
methods::NEW_RET_NO_SELF,
methods::OK_EXPECT,
methods::OPTION_MAP_UNWRAP_OR,
@@ -357,7 +358,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
methods::SEARCH_IS_SOME,
methods::SHOULD_IMPLEMENT_TRAIT,
methods::SINGLE_CHAR_PATTERN,
methods::SLICE_ITER_NTH,
methods::TEMPORARY_CSTRING_AS_PTR,
methods::WRONG_SELF_CONVENTION,
minmax::MIN_MAX,