You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Neville Dipale (Jira)" <ji...@apache.org> on 2020/12/04 23:13:00 UTC

[jira] [Resolved] (ARROW-10108) [Rust] [Parquet] Fix compiler warning about unused return value

     [ https://issues.apache.org/jira/browse/ARROW-10108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Neville Dipale resolved ARROW-10108.
------------------------------------
      Assignee: Neville Dipale
    Resolution: Fixed

This was fixed as part of the nightly update

> [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: Sub-task
>          Components: Rust
>            Reporter: Andy Grove
>            Assignee: Neville Dipale
>            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)