alamb commented on a change in pull request #9347:
URL: https://github.com/apache/arrow/pull/9347#discussion_r566032725



##########
File path: rust/arrow/src/datatypes.rs
##########
@@ -1836,7 +1836,7 @@ impl Schema {
     /// ```
     /// use arrow::datatypes::*;
     ///
-    /// let merged = Schema::try_merge(&vec![
+    /// let merged = Schema::try_merge(vec![

Review comment:
       this example shows a pretty good example of how I think the usability 
(as well as performance) of this API is improved by this PR

##########
File path: rust/arrow/src/datatypes.rs
##########
@@ -1836,7 +1836,7 @@ impl Schema {
     /// ```
     /// use arrow::datatypes::*;
     ///
-    /// let merged = Schema::try_merge(&vec![
+    /// let merged = Schema::try_merge(vec![

Review comment:
       The change in this example shows a pretty good example of how I think 
the usability (as well as performance) of this API is improved by this PR




----------------------------------------------------------------
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.

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


Reply via email to