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> {
312
312
self . start = plus_n. add_one ( ) ;
313
313
Some ( plus_n)
314
314
}
315
-
316
- #[ inline]
317
- fn min ( self ) -> Option < A > {
318
- Some ( self . start )
319
- }
320
315
}
321
316
322
317
#[ unstable( feature = "fused" , issue = "35602" ) ]
Original file line number Diff line number Diff line change @@ -1359,13 +1359,6 @@ fn test_range_max() {
1359
1359
assert_eq ! ( ( 1 ..1 ) . max( ) , None ) ;
1360
1360
}
1361
1361
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
-
1369
1362
#[ test]
1370
1363
fn test_range_inc_last_max ( ) {
1371
1364
assert_eq ! ( ( 0 ..=20 ) . last( ) , Some ( 20 ) ) ;
You can’t perform that action at this time.
0 commit comments