Skip to content

Commit 8a968ea

Browse files
Joey9801nevi-me
authored andcommitted
ARROW-11576: [Rust] Fix unused variable in Rust code example
Port of #9308 from @Joey9801 -- that PR got messed up with all the rebasing nonsense that happened as part of the 3.0.0 release. Closes #9459 from alamb/ARROW-11576 Authored-by: Joe Roberts <Joey9801@users.noreply.github.com> Signed-off-by: Neville Dipale <nevilledips@gmail.com>
1 parent 3a98a68 commit 8a968ea

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

rust/parquet/src/file/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767
//!
6868
//! let path = Path::new("/path/to/sample.parquet");
6969
//! if let Ok(file) = File::open(&path) {
70-
//! let file = File::open(&path).unwrap();
7170
//! let reader = SerializedFileReader::new(file).unwrap();
7271
//!
7372
//! let parquet_metadata = reader.metadata();

0 commit comments

Comments
 (0)