Make iter_nth work for Vecs too
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user