Skip to content

Commit

Permalink
udpate toolchain to enable the array_map feature (#157)
Browse files Browse the repository at this point in the history
* udpate toolchain

* fix ci lint stable: remove override and use toolchain
  • Loading branch information
ChihChengLiang committed Nov 5, 2021
1 parent 2a0c179 commit e1ea832
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
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

0 comments on commit e1ea832

Please sign in to comment.