@@ -428,7 +428,7 @@ pub fn once<T>(value: T) -> Once<T> {
428
428
/// assert_eq!(counter.collect::<Vec<_>>(), &[1, 2, 3, 4, 5]);
429
429
/// ```
430
430
#[ inline]
431
- #[ unstable( feature = "iter_unfold" , issue = /* FIXME */ "0 ") ]
431
+ #[ unstable( feature = "iter_unfold" , issue = "55977 ") ]
432
432
pub fn unfold < St , T , F > ( initial_state : St , f : F ) -> Unfold < St , F >
433
433
where F : FnMut ( & mut St ) -> Option < T >
434
434
{
@@ -445,13 +445,13 @@ pub fn unfold<St, T, F>(initial_state: St, f: F) -> Unfold<St, F>
445
445
///
446
446
/// [`unfold`]: fn.unfold.html
447
447
#[ derive( Clone ) ]
448
- #[ unstable( feature = "iter_unfold" , issue = /* FIXME */ "0 ") ]
448
+ #[ unstable( feature = "iter_unfold" , issue = "55977 ") ]
449
449
pub struct Unfold < St , F > {
450
450
state : St ,
451
451
f : F ,
452
452
}
453
453
454
- #[ unstable( feature = "iter_unfold" , issue = /* FIXME */ "0 ") ]
454
+ #[ unstable( feature = "iter_unfold" , issue = "55977 ") ]
455
455
impl < St , T , F > Iterator for Unfold < St , F >
456
456
where F : FnMut ( & mut St ) -> Option < T >
457
457
{
@@ -463,7 +463,7 @@ impl<St, T, F> Iterator for Unfold<St, F>
463
463
}
464
464
}
465
465
466
- #[ unstable( feature = "iter_unfold" , issue = /* FIXME */ "0 ") ]
466
+ #[ unstable( feature = "iter_unfold" , issue = "55977 ") ]
467
467
impl < St : fmt:: Debug , F > fmt:: Debug for Unfold < St , F > {
468
468
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
469
469
f. debug_struct ( "Unfold" )
@@ -484,7 +484,7 @@ impl<St: fmt::Debug, F> fmt::Debug for Unfold<St, F> {
484
484
/// let powers_of_10 = successors(Some(1_u16), |n| n.checked_mul(10));
485
485
/// assert_eq!(powers_of_10.collect::<Vec<_>>(), &[1, 10, 100, 1_000, 10_000]);
486
486
/// ```
487
- #[ unstable( feature = "iter_unfold" , issue = /* FIXME */ "0 ") ]
487
+ #[ unstable( feature = "iter_unfold" , issue = "55977 ") ]
488
488
pub fn successors < T , F > ( first : Option < T > , succ : F ) -> Successors < T , F >
489
489
where F : FnMut ( & T ) -> Option < T >
490
490
{
@@ -504,13 +504,13 @@ pub fn successors<T, F>(first: Option<T>, succ: F) -> Successors<T, F>
504
504
///
505
505
/// [`successors`]: fn.successors.html
506
506
#[ derive( Clone ) ]
507
- #[ unstable( feature = "iter_unfold" , issue = /* FIXME */ "0 ") ]
507
+ #[ unstable( feature = "iter_unfold" , issue = "55977 ") ]
508
508
pub struct Successors < T , F > {
509
509
next : Option < T > ,
510
510
succ : F ,
511
511
}
512
512
513
- #[ unstable( feature = "iter_unfold" , issue = /* FIXME */ "0 ") ]
513
+ #[ unstable( feature = "iter_unfold" , issue = "55977 ") ]
514
514
impl < T , F > Iterator for Successors < T , F >
515
515
where F : FnMut ( & T ) -> Option < T >
516
516
{
@@ -534,12 +534,12 @@ impl<T, F> Iterator for Successors<T, F>
534
534
}
535
535
}
536
536
537
- #[ unstable( feature = "iter_unfold" , issue = /* FIXME */ "0 ") ]
537
+ #[ unstable( feature = "iter_unfold" , issue = "55977 ") ]
538
538
impl < T , F > FusedIterator for Successors < T , F >
539
539
where F : FnMut ( & T ) -> Option < T >
540
540
{ }
541
541
542
- #[ unstable( feature = "iter_unfold" , issue = /* FIXME */ "0 ") ]
542
+ #[ unstable( feature = "iter_unfold" , issue = "55977 ") ]
543
543
impl < T : fmt:: Debug , F > fmt:: Debug for Successors < T , F > {
544
544
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
545
545
f. debug_struct ( "Successors" )
0 commit comments