tustvold commented on code in PR #5823:
URL: https://github.com/apache/arrow-rs/pull/5823#discussion_r1623262326
##########
parquet_derive/src/lib.rs:
##########
@@ -160,6 +167,7 @@ pub fn parquet_record_writer(input:
proc_macro::TokenStream) -> proc_macro::Toke
///
/// pub fn read_some_records() -> Vec<ACompleteRecord> {
/// let mut samples: Vec<ACompleteRecord> = Vec::new();
+/// let mut file = File::open("some_file.parquet").unwrap();
Review Comment:
I suspect the mut is unnecessary
##########
parquet_derive/src/lib.rs:
##########
@@ -62,14 +66,15 @@ mod parquet_field;
/// a_str: "I'm false"
/// }
/// ];
+/// let mut file = File::open("some_file.parquet").unwrap();
Review Comment:
I suspect the mut is unnecessary
--
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]