Skip to content

Fix clippy errors (sans missing docs and one unused field)#107

Merged
SolarLiner merged 3 commits intoSolarLiner:mainfrom
tonarino:fix-clippy-errors
Nov 1, 2025
Merged

Fix clippy errors (sans missing docs and one unused field)#107
SolarLiner merged 3 commits intoSolarLiner:mainfrom
tonarino:fix-clippy-errors

Conversation

@strohel
Copy link
Copy Markdown
Contributor

@strohel strohel commented Oct 28, 2025

Description

Fixes most but not all clippy lints. The remaining firing lints are:

  • 16 instances of missing_docs lints (we explicitly make this a warning). More work to resolve.
  • one instance of unused field in DuplexCallback::resample_config. I assume this is somewhat WIP, also per API additions for duplex devices #29

Type of Change

  • Code cleanup or refactor

How Has This Been Tested?

Still compiles, gives less warnings.

Checklist:

  • My code follows the style guidelines of this project
  • NA: I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • NA: Wherever possible, I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes
  • I have checked my code and corrected any misspellings

@strohel strohel requested a review from SolarLiner as a code owner October 28, 2025 15:51
Copy link
Copy Markdown
Owner

@SolarLiner SolarLiner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for doing the chores ! 😆

@SolarLiner SolarLiner merged commit 2baf2dc into SolarLiner:main Nov 1, 2025
21 checks passed
@strohel strohel deleted the fix-clippy-errors branch November 7, 2025 19:33
SolarLiner added a commit that referenced this pull request Nov 12, 2025
…114)

## Description

A kind of follow-up to #107.
This fixes all but but one clippy lints (at least for me on Linux with
`--all-features`), most of the work was adding basic docs to the
pipewire backend

The last remaining lint is of unused field in
DuplexCallback::resample_config. I assume this is somewhat WIP, also per
#29 (same as in #107).

## Type of Change

- [x] Documentation update
- [x] Code cleanup or refactor

## How Has This Been Tested?

Compiles. :)

## Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- ~Wherever possible, I have added tests that prove my fix is effective
or that my feature works.~
- [x] New and existing unit tests pass locally with my changes
- [x] I have checked my code and corrected any misspellings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants