You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Andy Grove (Jira)" <ji...@apache.org> on 2020/09/27 14:24:00 UTC
[jira] [Created] (ARROW-10108) [Rust] [Parquet] Fix compiler
warning about unused return value
Andy Grove created ARROW-10108:
----------------------------------
Summary: [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
Fix For: 2.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)