File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 18842f89f084c52588fe7cffe07f87bf6e90796a
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 21ea66f47ad059279628736b31a3a8bddd2710d3
4
+ refs/heads/snap-stage3: 53c5fcb99fc8c62b8723032280fab3dc06fef973
5
5
refs/heads/try: f5d619caf9f32458680fae55526b99582ca682dd
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
Original file line number Diff line number Diff line change @@ -882,9 +882,11 @@ macro_rules! countable_impl(
882
882
countable_impl ! ( uint u8 u16 u32 u64 int i8 i16 i32 i64 )
883
883
884
884
/// An unbounded range.
885
+ #[ lang="full_range" ]
885
886
pub struct FullRange ;
886
887
887
888
/// A range which i bounded at both ends.
889
+ #[ lang="range" ]
888
890
pub struct Range < Idx > {
889
891
/// The lower bound of the range (inclusive).
890
892
pub start : Idx ,
@@ -926,6 +928,7 @@ impl<Idx: Clone + Countable> DoubleEndedIterator<Idx> for Range<Idx> {
926
928
}
927
929
928
930
/// A range which is only bounded below.
931
+ #[ lang="range_from" ]
929
932
pub struct RangeFrom < Idx > {
930
933
/// The lower bound of the range (inclusive).
931
934
pub start : Idx ,
Original file line number Diff line number Diff line change @@ -267,6 +267,9 @@ lets_do_this! {
267
267
IndexMutTraitLangItem , "index_mut" , index_mut_trait;
268
268
SliceTraitLangItem , "slice" , slice_trait;
269
269
SliceMutTraitLangItem , "slice_mut" , slice_mut_trait;
270
+ RangeStructLangItem , "range" , range_struct;
271
+ RangeFromStructLangItem , "range_from" , range_from_struct;
272
+ FullRangeStructLangItem , "full_range" , full_range_struct;
270
273
271
274
UnsafeTypeLangItem , "unsafe" , unsafe_type;
272
275
You can’t perform that action at this time.
0 commit comments