Auto merge of #43012 - scottmcm:delete-range-step-by, r=alexcrichton

Delete deprecated & unstable range-specific `step_by`

Using the new one is annoying while this one exists, since the inherent method hides the one on iterator.

Tracking issue: #27741
Replacement: #41439
Deprecation: #42310 for 1.19
Fixes #41477
This commit is contained in:
bors 2017-07-04 04:49:59 +00:00
commit 7a75d2bec4
8 changed files with 20 additions and 251 deletions

View file

@ -10,7 +10,7 @@
// Test inclusive range syntax.
#![feature(inclusive_range_syntax, inclusive_range, step_by)]
#![feature(inclusive_range_syntax, inclusive_range, iterator_step_by)]
use std::ops::{RangeInclusive, RangeToInclusive};

View file

@ -14,7 +14,7 @@
#![feature(iter_empty)]
#![feature(iter_once)]
#![feature(iter_unfold)]
#![feature(step_by)]
#![feature(iterator_step_by)]
#![feature(str_escape)]
use std::iter::{empty, once, repeat};