GitHub Actions / Run clippy (macos-latest, no default features)
succeeded
Jan 20, 2024 in 0s
Run clippy (macos-latest, no default features)
1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 1 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.77.0-nightly (88189a71e 2024-01-19)
- cargo 1.77.0-nightly (1ae631085 2024-01-17)
- clippy 0.1.77 (88189a71 2024-01-19)
Annotations
Check warning on line 343 in core/src/audio/channel.rs
github-actions / Run clippy (macos-latest, no default features)
unused `self` argument
warning: unused `self` argument
--> core/src/audio/channel.rs:343:25
|
343 | fn keep_last_sample(&mut self) {
| ^^^^^^^^^
|
= help: consider refactoring to an associated function
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_self
note: the lint level is defined here
--> core/src/lib.rs:11:9
|
11 | #![warn(clippy::pedantic)]
| ^^^^^^^^^^^^^^^^
= note: `#[warn(clippy::unused_self)]` implied by `#[warn(clippy::pedantic)]`
Loading