From 6062bdb5cd993a3bccf2fea26f1f379b1cc37257 Mon Sep 17 00:00:00 2001 From: Kevin Lewi Date: Thu, 8 Jul 2021 19:19:21 -0700 Subject: [PATCH] Switch CI to using stable instead of nightly toolchain --- .github/workflows/main.yml | 14 +++++++------- src/messages.rs | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b2576a9..415d00b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ jobs: - u64_backend - u32_backend toolchain: - - nightly + - stable - 1.41.0 name: test steps: @@ -93,7 +93,7 @@ jobs: fail-fast: false matrix: toolchain: - - nightly + - stable - 1.41.0 name: test simple_login command-line example steps: @@ -117,7 +117,7 @@ jobs: fail-fast: false matrix: toolchain: - - nightly + - stable - 1.41.0 name: test digital_locker command-line example steps: @@ -162,11 +162,11 @@ jobs: - name: Checkout sources uses: actions/checkout@v2 - - name: Install nightly toolchain + - name: Install stable toolchain uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly + toolchain: stable override: true components: rustfmt, clippy @@ -184,11 +184,11 @@ jobs: - name: Checkout sources uses: actions/checkout@v2 - - name: Install nightly toolchain + - name: Install stable toolchain uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly + toolchain: stable override: true components: rustfmt, clippy diff --git a/src/messages.rs b/src/messages.rs index f14dfa0..4107cfb 100644 --- a/src/messages.rs +++ b/src/messages.rs @@ -126,7 +126,7 @@ impl RegistrationResponse { &checked_slice[elem_len..], )?)?; - Ok(Self { server_s_pk, beta }) + Ok(Self { beta, server_s_pk }) } }