[
https://issues.apache.org/jira/browse/ARROW-10108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Grove updated ARROW-10108:
-------------------------------
Fix Version/s: (was: 2.0.0)
3.0.0
> [Rust] [Parquet] Fix compiler warning about unused return value
> ---------------------------------------------------------------
>
> Key: ARROW-10108
> URL: https://issues.apache.org/jira/browse/ARROW-10108
> Project: Apache Arrow
> Issue Type: Bug
> Components: Rust
> Reporter: Andy Grove
> Priority: Major
> Fix For: 3.0.0
>
>
> When compiling with latest nightly, this warning is produced:
> {code:java}
> warning: unused return value of `std::mem::replace` that must be used
> --> parquet/src/encodings/encoding.rs:391:9
> |
> 391 | mem::replace(&mut self.hash_slots, new_hash_slots);
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> |
> = note: `#[warn(unused_must_use)]` on by default
> = note: if you don't need the old value, you can just assign the new
> value directly {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)