File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ mod private_iter_index {
1717 impl Sealed for ops:: RangeFull { }
1818}
1919
20- /// Used by [`get`] and [` Itertools::get`] to know which iterator
20+ /// Used by [`Itertools::get`] to know which iterator
2121/// to turn different ranges into.
2222pub trait IteratorIndex < I > : private_iter_index:: Sealed
2323where
2828
2929 /// Returns an adapted iterator for the current index.
3030 ///
31- /// Prefer calling [`get`] or [` Itertools::get`] instead
31+ /// Prefer calling [`Itertools::get`] instead
3232 /// of calling this directly.
3333 fn index ( self , from : I ) -> Self :: Output ;
3434}
@@ -107,9 +107,6 @@ where
107107 }
108108}
109109
110- /// Returns an iterator over a subsection of the iterator.
111- ///
112- /// See [`Itertools::get`] for more information.
113110pub fn get < I , R > ( iter : I , index : R ) -> R :: Output
114111where
115112 I : IntoIterator ,
Original file line number Diff line number Diff line change @@ -154,7 +154,6 @@ pub use crate::concat_impl::concat;
154154pub use crate :: cons_tuples_impl:: cons_tuples;
155155pub use crate :: diff:: diff_with;
156156pub use crate :: diff:: Diff ;
157- pub use crate :: iter_index:: get;
158157#[ cfg( feature = "use_alloc" ) ]
159158pub use crate :: kmerge_impl:: kmerge_by;
160159pub use crate :: minmax:: MinMaxResult ;
You can’t perform that action at this time.
0 commit comments