Skip to content

Commit 71025c8

Browse files
authored
Enforce deterministic order in hashmaps (#5584)
## Description This PR does three things: 1. use Rust 1.76.0 2. enable the new `iter_over_hash_type` Clippy lint on relevant crates 3. use `indexmap::IndexMap` to replace any equivalent `HashMap` being iterated upon with a deterministically ordered alternative ## Checklist - [x] I have linked to any relevant issues. - [x] I have commented my code, particularly in hard-to-understand areas. - [x] I have updated the documentation where relevant (API docs, the reference, and the Sway book). - [x] I have added tests that prove my fix is effective or that my feature works. - [x] I have added (or requested a maintainer to add) the necessary `Breaking*` or `New Feature` labels where relevant. - [x] I have done my best to ensure that my PR adheres to [the Fuel Labs Code Review Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md). - [x] I have requested a review from the relevant team or maintainers.
1 parent 80be608 commit 71025c8

File tree

43 files changed

+437
-383
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+437
-383
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ concurrency:
1515
env:
1616
CARGO_TERM_COLOR: always
1717
REGISTRY: ghcr.io
18-
RUST_VERSION: 1.75.0
19-
NIGHTLY_RUST_VERSION: nightly-2023-12-27
18+
RUST_VERSION: 1.76.0
19+
NIGHTLY_RUST_VERSION: nightly-2024-02-07
2020

2121
jobs:
2222
get-fuel-core-version:

0 commit comments

Comments
 (0)