Add Text Preferences to Preferences Mock #48
GitHub Actions / clippy
succeeded
May 6, 2024 in 0s
clippy
1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 1 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.78.0 (9b00956e5 2024-04-29)
- cargo 1.78.0 (54d8815d0 2024-03-26)
- clippy 0.1.78 (9b00956 2024-04-29)
Annotations
Check warning on line 913 in src/media/io.rs
github-actions / clippy
associated items `new`, `input_device_name`, `input_device_names`, `frames_per_second`, and `set_frames_per_second` are never used
warning: associated items `new`, `input_device_name`, `input_device_names`, `frames_per_second`, and `set_frames_per_second` are never used
--> src/media/io.rs:913:12
|
909 | impl VideoInput {
| --------------- associated items in this implementation
...
913 | pub fn new() -> VideoInput {
| ^^^
...
931 | pub fn input_device_name(&self) -> String {
| ^^^^^^^^^^^^^^^^^
...
935 | pub fn input_device_names(&self) -> Vec<String> {
| ^^^^^^^^^^^^^^^^^^
...
949 | pub fn frames_per_second(&self) -> u32 {
| ^^^^^^^^^^^^^^^^^
...
953 | pub fn set_frames_per_second(&mut self, desired_fps: u32) {
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
Loading