-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Labels
C-assignedThere is someone working on resolving the issueThere is someone working on resolving the issueE-less-complexStraightforward. Recommended for a new contributor.Straightforward. Recommended for a new contributor.I-cleanupNo impact; the issue is one of maintainability or tidiness.No impact; the issue is one of maintainability or tidiness.
Description
https://doc.servo.org/core/ops/struct.Range.html#method.step_by
https://doc.servo.org/core/iter/trait.Iterator.html#method.step_by
warning: use of deprecated item: replaced by `Iterator::step_by`
--> /Users/jdm/src/master-servo/components/layout/inline.rs:969:66
|
969 | (range.end().get() - 1..range.begin().get() - 1).step_by(-1)
| ^^^^^^^
|
= note: #[warn(deprecated)] on by default
warning: use of deprecated item: replaced by `Iterator::step_by`
--> /Users/jdm/src/master-servo/components/layout/inline.rs:971:58
|
971 | (range.begin().get()..range.end().get()).step_by(1)
| ^^^^^^^
|
= note: #[warn(deprecated)] on by default
This will require replacing the existing #[feature(step_by)] with #[feature(iterator_step_by)] at the very least.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-assignedThere is someone working on resolving the issueThere is someone working on resolving the issueE-less-complexStraightforward. Recommended for a new contributor.Straightforward. Recommended for a new contributor.I-cleanupNo impact; the issue is one of maintainability or tidiness.No impact; the issue is one of maintainability or tidiness.