File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed
Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -1670,10 +1670,6 @@ impl IndexRanges {
16701670
16711671 range
16721672 }
1673-
1674- pub ( crate ) fn reset ( & mut self ) {
1675- self . next_idx = 0 ;
1676- }
16771673}
16781674
16791675impl From < Vec < Range > > for IndexRanges {
@@ -1910,31 +1906,6 @@ mod test {
19101906 columns
19111907 }
19121908
1913- #[ test]
1914- fn test_index_ranges_next_and_reset ( ) {
1915- let mut ranges = super :: IndexRanges :: from ( vec ! [
1916- Range :: Eq ( DataValue :: Int32 ( 1 ) ) ,
1917- Range :: Eq ( DataValue :: Int32 ( 2 ) ) ,
1918- ] ) ;
1919-
1920- assert ! ( matches!(
1921- ranges. next( ) ,
1922- Some ( range) if * range == Range :: Eq ( DataValue :: Int32 ( 1 ) )
1923- ) ) ;
1924- assert ! ( matches!(
1925- ranges. next( ) ,
1926- Some ( range) if * range == Range :: Eq ( DataValue :: Int32 ( 2 ) )
1927- ) ) ;
1928- assert ! ( ranges. next( ) . is_none( ) ) ;
1929-
1930- ranges. reset ( ) ;
1931-
1932- assert ! ( matches!(
1933- ranges. next( ) ,
1934- Some ( range) if * range == Range :: Eq ( DataValue :: Int32 ( 1 ) )
1935- ) ) ;
1936- }
1937-
19381909 fn build_tuples ( ) -> Vec < Tuple > {
19391910 vec ! [
19401911 Tuple :: new(
You can’t perform that action at this time.
0 commit comments