impl TrustedLen for 128-bit ranges too
This commit is contained in:
parent
3d389f244a
commit
a548d835ce
1 changed files with 2 additions and 2 deletions
|
|
@ -232,8 +232,8 @@ range_incl_exact_iter_impl!(u8 u16 i8 i16);
|
|||
//
|
||||
// They need to guarantee that .size_hint() is either exact, or that
|
||||
// the upper bound is None when it does not fit the type limits.
|
||||
range_trusted_len_impl!(usize isize u8 i8 u16 i16 u32 i32 i64 u64);
|
||||
range_incl_trusted_len_impl!(usize isize u8 i8 u16 i16 u32 i32 i64 u64);
|
||||
range_trusted_len_impl!(usize isize u8 i8 u16 i16 u32 i32 u64 i64 u128 i128);
|
||||
range_incl_trusted_len_impl!(usize isize u8 i8 u16 i16 u32 i32 u64 i64 u128 i128);
|
||||
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
impl<A: Step> DoubleEndedIterator for ops::Range<A> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue