tustvold commented on code in PR #3173:
URL: https://github.com/apache/arrow-rs/pull/3173#discussion_r1030636317


##########
parquet/src/arrow/arrow_reader/selection.rs:
##########
@@ -347,6 +370,12 @@ impl RowSelection {
         }
         self
     }
+
+    /// Returns an iterator over the [`RowSelector`]s for this
+    /// [`RowSelection`].
+    pub fn iter(&self) -> impl Iterator<Item = &RowSelector> {
+        self.selectors.iter()

Review Comment:
   ```suggestion
       pub fn iter(&self) -> impl Iterator<Item = RowSelector> {
           self.selectors.iter().copied()
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to