fix: resolve clippy warnings across all crates
CI/CD / Test (ubuntu-latest) (push) Successful in 1m40s
CI/CD / Build Frontend (push) Failing after 12s
CI/CD / Test (macos-latest) (push) Has been cancelled
CI/CD / Test (windows-latest) (push) Has been cancelled
CI/CD / Build Desktop (linux) (push) Has been cancelled
CI/CD / Build Desktop (macos) (push) Has been cancelled
CI/CD / Build Desktop (windows) (push) Has been cancelled
CI/CD / Release (push) Has been cancelled
CI/CD / Test (ubuntu-latest) (push) Successful in 1m40s
CI/CD / Build Frontend (push) Failing after 12s
CI/CD / Test (macos-latest) (push) Has been cancelled
CI/CD / Test (windows-latest) (push) Has been cancelled
CI/CD / Build Desktop (linux) (push) Has been cancelled
CI/CD / Build Desktop (macos) (push) Has been cancelled
CI/CD / Build Desktop (windows) (push) Has been cancelled
CI/CD / Release (push) Has been cancelled
- Remove inherent to_string() methods shadowing Display (Command, CommandArgument) - Fix empty line after doc comment in shared/types.rs - Use sort_by_key with Reverse instead of sort_by in config.rs - Remove redundant closures in client.rs - Fix borrow patterns in ephemeral.rs and keys.rs - Use abs_diff in resend.rs - Fix needless Ok/? in tsdb/config.rs - Allow too_many_arguments for create_message in tsdb/message.rs - Allow dead_code on placeholder tsaudio structs
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
use super::{AudioConfig, AudioError, AudioFrame, AudioResult};
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub struct AudioCapture {
|
||||
config: AudioConfig,
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
use super::{AudioError, AudioResult};
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub struct OpusEncoder {
|
||||
sample_rate: u32,
|
||||
channels: u16,
|
||||
@@ -24,6 +25,7 @@ impl OpusEncoder {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub struct OpusDecoder {
|
||||
sample_rate: u32,
|
||||
channels: u16,
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
use super::{AudioConfig, AudioFrame, AudioResult};
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub struct AudioPlayback {
|
||||
config: AudioConfig,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user