Skip to content

Commit 7f7c5b6

Browse files
committed
Made CI update the lockfile for non-MSRV builds; made clippy happy
1 parent af209b3 commit 7f7c5b6

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/ci.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ jobs:
2929
- uses: actions/checkout@v3
3030
- uses: dtolnay/rust-toolchain@stable
3131
# Use the modern stable Rust, not the MSRV in rust-toolchain.toml
32-
- run: rustup override set stable
32+
- run: rustup override set stable && cargo update
33+
- run: cargo --version
3334
- run: cargo test --all-features
3435

3536
rustfmt:
@@ -38,7 +39,7 @@ jobs:
3839
- uses: actions/checkout@v3
3940
- uses: dtolnay/rust-toolchain@stable
4041
# Use the modern stable Rust, not the MSRV in rust-toolchain.toml
41-
- run: rustup override set stable
42+
- run: rustup override set stable && cargo update
4243
- run: cargo fmt --all -- --check
4344

4445
clippy:
@@ -49,7 +50,7 @@ jobs:
4950
with:
5051
components: clippy
5152
# Use the modern stable Rust, not the MSRV in rust-toolchain.toml
52-
- run: rustup override set stable
53+
- run: rustup override set stable && cargo update
5354
- run: cargo clippy --all-features -- -D warnings
5455

5556
# Test no_std build-only
@@ -64,7 +65,7 @@ jobs:
6465
targets: thumbv7em-none-eabi
6566
- uses: taiki-e/install-action@cargo-hack
6667
# Use the modern stable Rust, not the MSRV in rust-toolchain.toml
67-
- run: rustup override set stable
68+
- run: rustup override set stable && cargo update
6869
# No default features build
6970
- name: no_std / no feat
7071
run: cargo build --target thumbv7em-none-eabi --release --no-default-features

src/strobe.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ impl core::fmt::Display for AuthError {
7171
///
7272
/// * `data` - The input data to the operation.
7373
/// * `more` - For streaming purposes. Specifies whether you're trying to add more input / get more
74-
/// output to/from the previous operation. For example:
74+
/// output to/from the previous operation. For example:
7575
///
7676
/// ```rust
7777
/// # extern crate strobe_rs;

0 commit comments

Comments
 (0)