@@ -428,7 +428,7 @@ pub fn once<T>(value: T) -> Once<T> {
428428/// assert_eq!(counter.collect::<Vec<_>>(), &[1, 2, 3, 4, 5]);
429429/// ```
430430#[ inline]
431- #[ unstable( feature = "iter_unfold" , issue = /* FIXME */ "0 ") ]
431+ #[ unstable( feature = "iter_unfold" , issue = "55977 ") ]
432432pub fn unfold < St , T , F > ( initial_state : St , f : F ) -> Unfold < St , F >
433433 where F : FnMut ( & mut St ) -> Option < T >
434434{
@@ -445,13 +445,13 @@ pub fn unfold<St, T, F>(initial_state: St, f: F) -> Unfold<St, F>
445445///
446446/// [`unfold`]: fn.unfold.html
447447#[ derive( Clone ) ]
448- #[ unstable( feature = "iter_unfold" , issue = /* FIXME */ "0 ") ]
448+ #[ unstable( feature = "iter_unfold" , issue = "55977 ") ]
449449pub struct Unfold < St , F > {
450450 state : St ,
451451 f : F ,
452452}
453453
454- #[ unstable( feature = "iter_unfold" , issue = /* FIXME */ "0 ") ]
454+ #[ unstable( feature = "iter_unfold" , issue = "55977 ") ]
455455impl < St , T , F > Iterator for Unfold < St , F >
456456 where F : FnMut ( & mut St ) -> Option < T >
457457{
@@ -463,7 +463,7 @@ impl<St, T, F> Iterator for Unfold<St, F>
463463 }
464464}
465465
466- #[ unstable( feature = "iter_unfold" , issue = /* FIXME */ "0 ") ]
466+ #[ unstable( feature = "iter_unfold" , issue = "55977 ") ]
467467impl < St : fmt:: Debug , F > fmt:: Debug for Unfold < St , F > {
468468 fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
469469 f. debug_struct ( "Unfold" )
@@ -484,7 +484,7 @@ impl<St: fmt::Debug, F> fmt::Debug for Unfold<St, F> {
484484/// let powers_of_10 = successors(Some(1_u16), |n| n.checked_mul(10));
485485/// assert_eq!(powers_of_10.collect::<Vec<_>>(), &[1, 10, 100, 1_000, 10_000]);
486486/// ```
487- #[ unstable( feature = "iter_unfold" , issue = /* FIXME */ "0 ") ]
487+ #[ unstable( feature = "iter_unfold" , issue = "55977 ") ]
488488pub fn successors < T , F > ( first : Option < T > , succ : F ) -> Successors < T , F >
489489 where F : FnMut ( & T ) -> Option < T >
490490{
@@ -504,13 +504,13 @@ pub fn successors<T, F>(first: Option<T>, succ: F) -> Successors<T, F>
504504///
505505/// [`successors`]: fn.successors.html
506506#[ derive( Clone ) ]
507- #[ unstable( feature = "iter_unfold" , issue = /* FIXME */ "0 ") ]
507+ #[ unstable( feature = "iter_unfold" , issue = "55977 ") ]
508508pub struct Successors < T , F > {
509509 next : Option < T > ,
510510 succ : F ,
511511}
512512
513- #[ unstable( feature = "iter_unfold" , issue = /* FIXME */ "0 ") ]
513+ #[ unstable( feature = "iter_unfold" , issue = "55977 ") ]
514514impl < T , F > Iterator for Successors < T , F >
515515 where F : FnMut ( & T ) -> Option < T >
516516{
@@ -534,12 +534,12 @@ impl<T, F> Iterator for Successors<T, F>
534534 }
535535}
536536
537- #[ unstable( feature = "iter_unfold" , issue = /* FIXME */ "0 ") ]
537+ #[ unstable( feature = "iter_unfold" , issue = "55977 ") ]
538538impl < T , F > FusedIterator for Successors < T , F >
539539 where F : FnMut ( & T ) -> Option < T >
540540{ }
541541
542- #[ unstable( feature = "iter_unfold" , issue = /* FIXME */ "0 ") ]
542+ #[ unstable( feature = "iter_unfold" , issue = "55977 ") ]
543543impl < T : fmt:: Debug , F > fmt:: Debug for Successors < T , F > {
544544 fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
545545 f. debug_struct ( "Successors" )
0 commit comments