Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

udpate toolchain to enable the array_map feature #157

Merged
merged 2 commits into from
Nov 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/lints-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,19 @@ jobs:
clippy:
if: github.event.pull_request.draft == false

name: Clippy (1.53.0)
name: Clippy
timeout-minutes: 30
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.53.0
components: clippy
override: true
override: false
- name: Run clippy
uses: actions-rs/clippy-check@v1
with:
name: Clippy (1.53.0)
name: Clippy
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --all-targets -- -D warnings
4 changes: 2 additions & 2 deletions bus-mapping/src/operation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ impl PartialOrd for StorageOp {

impl Ord for StorageOp {
fn cmp(&self, other: &StorageOp) -> Ordering {
match self.address().cmp(&other.address()) {
Ordering::Equal => self.key().cmp(&other.key()),
match self.address().cmp(other.address()) {
Ordering::Equal => self.key().cmp(other.key()),
ord => ord,
}
}
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
stable-2021-06-17
stable-2021-11-01