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: | 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.