@@ -630,6 +630,8 @@ impl<T> [T] {
630
630
/// assert_eq!(iter.next().unwrap(), &['m']);
631
631
/// assert!(iter.next().is_none());
632
632
/// ```
633
+ ///
634
+ /// [`exact_chunks`]: #method.exact_chunks
633
635
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
634
636
#[ inline]
635
637
pub fn chunks ( & self , chunk_size : usize ) -> Chunks < T > {
@@ -660,6 +662,8 @@ impl<T> [T] {
660
662
/// assert_eq!(iter.next().unwrap(), &['r', 'e']);
661
663
/// assert!(iter.next().is_none());
662
664
/// ```
665
+ ///
666
+ /// [`chunks`]: #method.chunks
663
667
#[ unstable( feature = "exact_chunks" , issue = "47115" ) ]
664
668
#[ inline]
665
669
pub fn exact_chunks ( & self , chunk_size : usize ) -> ExactChunks < T > {
@@ -692,6 +696,8 @@ impl<T> [T] {
692
696
/// }
693
697
/// assert_eq!(v, &[1, 1, 2, 2, 3]);
694
698
/// ```
699
+ ///
700
+ /// [`exact_chunks_mut`]: #method.exact_chunks_mut
695
701
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
696
702
#[ inline]
697
703
pub fn chunks_mut ( & mut self , chunk_size : usize ) -> ChunksMut < T > {
@@ -728,6 +734,8 @@ impl<T> [T] {
728
734
/// }
729
735
/// assert_eq!(v, &[1, 1, 2, 2, 0]);
730
736
/// ```
737
+ ///
738
+ /// [`chunks_mut`]: #method.chunks_mut
731
739
#[ unstable( feature = "exact_chunks" , issue = "47115" ) ]
732
740
#[ inline]
733
741
pub fn exact_chunks_mut ( & mut self , chunk_size : usize ) -> ExactChunksMut < T > {
0 commit comments