diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2018-02-09 18:01:12 -0800 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2018-02-09 18:01:12 -0800 |
| commit | 6f70a11a831992fe86a935a0d649d3aa6b16dc50 (patch) | |
| tree | 16e9d0982312ac07f824db59c19180a8df040914 | |
| parent | b5cb393cf5b4a65fb99d8b1e43450fb87567788b (diff) | |
| download | rust-6f70a11a831992fe86a935a0d649d3aa6b16dc50.tar.gz rust-6f70a11a831992fe86a935a0d649d3aa6b16dc50.zip | |
range_is_empty tracking issue is #48111
| -rw-r--r-- | src/libcore/ops/range.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/ops/range.rs b/src/libcore/ops/range.rs index cce593ee208..4e4d3347523 100644 --- a/src/libcore/ops/range.rs +++ b/src/libcore/ops/range.rs @@ -124,7 +124,7 @@ impl<Idx: PartialOrd<Idx>> Range<Idx> { /// assert!( (3..3).is_empty()); /// assert!( (3..2).is_empty()); /// ``` - #[unstable(feature = "range_is_empty", reason = "recently added", issue = "123456789")] + #[unstable(feature = "range_is_empty", reason = "recently added", issue = "48111")] pub fn is_empty(&self) -> bool { !(self.start < self.end) } @@ -347,7 +347,7 @@ impl<Idx: PartialOrd<Idx>> RangeInclusive<Idx> { /// // Precise field values are unspecified here /// assert!(r.is_empty()); /// ``` - #[unstable(feature = "range_is_empty", reason = "recently added", issue = "123456789")] + #[unstable(feature = "range_is_empty", reason = "recently added", issue = "48111")] pub fn is_empty(&self) -> bool { !(self.start <= self.end) } |
