Skip to content

Commit 317a8b6

Browse files
authored
Merge pull request #800 from RustAudio/fix/ci-clippy
ci: install clippy before running checks
2 parents e2074c6 + f2ecc2a commit 317a8b6

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,12 @@ jobs:
3232
run: sudo apt install --yes --no-install-recommends libasound2-dev pkg-config
3333
if: contains(matrix.os, 'ubuntu')
3434

35-
- name: install ${{ matrix.toolchain }} toolchain
35+
- name: Install ${{ matrix.toolchain }} toolchain
3636
run: rustup toolchain install ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
3737

38-
- run: cargo clippy --all-features -- -D warnings
38+
- run: |
39+
rustup component add clippy
40+
cargo clippy --all-features -- -D warnings
3941
if: matrix.toolchain == 'stable' && matrix.os == 'ubuntu-latest'
4042
4143
- run: |

src/microphone/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ where
415415
/// Sets the buffer size for the input.
416416
///
417417
/// This has no impact on latency, though a too small buffer can lead to audio
418-
/// artifacts if your program can not get samples out of the buffer before they
418+
/// artifacts if your program can not get samples out of the buffer before they
419419
/// get overridden again.
420420
///
421421
/// Normally the default input config will have this set up correctly.

0 commit comments

Comments
 (0)