File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -312,11 +312,6 @@ impl<A: Step> Iterator for ops::RangeFrom<A> {
312312 self . start = plus_n. add_one ( ) ;
313313 Some ( plus_n)
314314 }
315-
316- #[ inline]
317- fn min ( self ) -> Option < A > {
318- Some ( self . start )
319- }
320315}
321316
322317#[ unstable( feature = "fused" , issue = "35602" ) ]
Original file line number Diff line number Diff line change @@ -1359,13 +1359,6 @@ fn test_range_max() {
13591359 assert_eq ! ( ( 1 ..1 ) . max( ) , None ) ;
13601360}
13611361
1362- #[ test]
1363- fn test_range_from_min ( ) {
1364- assert_eq ! ( ( 0 ..) . min( ) , Some ( 0 ) ) ;
1365- assert_eq ! ( ( -20 ..) . min( ) , Some ( -20 ) ) ;
1366- assert_eq ! ( ( 20 ..) . min( ) , Some ( 20 ) ) ;
1367- }
1368-
13691362#[ test]
13701363fn test_range_inc_last_max ( ) {
13711364 assert_eq ! ( ( 0 ..=20 ) . last( ) , Some ( 20 ) ) ;
You can’t perform that action at this time.
0 commit comments