Chore: clippy appeasement
This commit is contained in:
@@ -35,7 +35,7 @@ struct AsyncAdapterSink {
|
||||
|
||||
impl AsyncAdapterSink {
|
||||
async fn launch(mut self) {
|
||||
let mut inner_buf = [0u8; 32 * 1024];
|
||||
let mut inner_buf = vec![0u8; 32 * 1024].into_boxed_slice();
|
||||
let mut read_region = 0..0;
|
||||
let mut hit_end = false;
|
||||
let mut blocked = false;
|
||||
|
||||
@@ -192,7 +192,7 @@ impl From<YoutubeDl<'static>> for Input {
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
impl<'a> Compose for YoutubeDl<'a> {
|
||||
impl Compose for YoutubeDl<'_> {
|
||||
fn create(&mut self) -> Result<AudioStream<Box<dyn MediaSource>>, AudioStreamError> {
|
||||
Err(AudioStreamError::Unsupported)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user