From 03fceb3fae1c81a42266ce98e63e3e6740da38ee Mon Sep 17 00:00:00 2001 From: Roderick van Domburg Date: Fri, 26 Sep 2025 23:07:01 +0200 Subject: [PATCH 1/2] ci: install clippy before running checks --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77b85f24..db9e4e8b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,10 +32,12 @@ jobs: run: sudo apt install --yes --no-install-recommends libasound2-dev pkg-config if: contains(matrix.os, 'ubuntu') - - name: install ${{ matrix.toolchain }} toolchain + - name: Install ${{ matrix.toolchain }} toolchain run: rustup toolchain install ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} - - run: cargo clippy --all-features -- -D warnings + - run: | + rustup component add clippy + cargo clippy --all-features -- -D warnings if: matrix.toolchain == 'stable' && matrix.os == 'ubuntu-latest' - run: | From f2ecc2a26aaca4b68e74bfda60fc07046ba65244 Mon Sep 17 00:00:00 2001 From: Roderick van Domburg Date: Fri, 26 Sep 2025 23:09:30 +0200 Subject: [PATCH 2/2] style: cargo fmt --- src/microphone/builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/microphone/builder.rs b/src/microphone/builder.rs index 43354704..deac72da 100644 --- a/src/microphone/builder.rs +++ b/src/microphone/builder.rs @@ -415,7 +415,7 @@ where /// Sets the buffer size for the input. /// /// This has no impact on latency, though a too small buffer can lead to audio - /// artifacts if your program can not get samples out of the buffer before they + /// artifacts if your program can not get samples out of the buffer before they /// get overridden again. /// /// Normally the default input config will have this set up correctly.