From 036db1194baa1a9326e74006d76413a88239e291 Mon Sep 17 00:00:00 2001 From: Dimitris Iliopoulos Date: Mon, 7 Oct 2024 13:57:00 -0700 Subject: [PATCH] Update platform010 & platform010-aarch64 symlinks Summary: Upgrading Rust from `1.80.1` to `1.81.0` ([release notes](https://blog.rust-lang.org/2024/09/05/Rust-1.81.0.html)) with the following changes affecting `fbsource`: * Feature stabilizations: * `io_slice_advance` ([#62726](https://github.com/rust-lang/rust/issues/62726)) * `panic_info_message` ([#66745](https://github.com/rust-lang/rust/issues/66745)) * `fs_try_exists` ([#83186](https://github.com/rust-lang/rust/issues/83186)) * `lint_reasons` ([#120924](https://github.com/rust-lang/rust/pull/120924)) * `duration_abs_diff` ([#117618](https://github.com/rust-lang/rust/issues/117618)) * `effects` ([#102090](https://github.com/rust-lang/rust/issues/102090)) * New `clippy` lints: * `manual_inspect` ([#12287](https://github.com/rust-lang/rust-clippy/pull/12287)) * `manual_pattern_char_comparison` ([#12849](https://github.com/rust-lang/rust-clippy/pull/12849)) * Other: * `NEVER_TYPE_FALLBACK_FLOWING_INTO_UNSAFE` became a deny-by-default lint ([#126881](https://github.com/rust-lang/rust/pull/126881) & [#123748](https://github.com/rust-lang/rust/issues/123748)) * Changes to `stringify!` introducing whitespaces between some tokens ([#125174](https://github.com/rust-lang/rust/pull/125174)) * `format!` is now marked with a `must_use` hint ([#127355](https://github.com/rust-lang/rust/pull/127355)) ignore-conflict-markers Reviewed By: zertosh, dtolnay Differential Revision: D63864870 fbshipit-source-id: c8d61f3e9483ec709c8116514cfb030c883ec262 --- shed/hash_memo/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shed/hash_memo/src/lib.rs b/shed/hash_memo/src/lib.rs index 195d7dc20..a5149f3ad 100644 --- a/shed/hash_memo/src/lib.rs +++ b/shed/hash_memo/src/lib.rs @@ -192,7 +192,7 @@ impl Hash for EagerHashMemoizer { // the finish value. // Hasher has only limited apis, and this is safer than transmuting // to use a specific write_finish() api. - state.finish(); + let _ = state.finish(); // If we are using the MemoHasher, this will set the finish value. // Otherwise it harmlessly alters the hash a bit. @@ -260,7 +260,7 @@ impl Hash for LazyHashMemoizer<'_, T, I> { // Tells MemoHasher to interpret the write_u64 as the finish value. // Hasher has only limited apis, and this is safer than transmuting // to use a specific write_finish() api. - state.finish(); + let _ = state.finish(); // If we are using the MemoHasher, this will set the finish value. // Otherwise it harmlessly alters the hash a bit