Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When compiling with latest nightly, this warning is produced:
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