Fix clippy warnings (#236)

This commit is contained in:
Gnome!
2024-04-02 08:57:47 +01:00
committed by GitHub
parent 1d5b25965b
commit 5bbe80f20c
28 changed files with 35 additions and 63 deletions

View File

@@ -19,7 +19,6 @@ use audiopus::{
};
use byteorder::{LittleEndian, ReadBytesExt, WriteBytesExt};
use std::{
convert::TryInto,
io::{
Cursor,
Error as IoError,

View File

@@ -12,7 +12,6 @@ use symphonia::core::{
meta::{Metadata as SymphMetadata, MetadataBuilder, MetadataLog, StandardTagKey, Tag, Value},
probe::{Descriptor, Instantiate, QueryDescriptor},
sample::SampleFormat,
units::TimeStamp,
};
impl QueryDescriptor for DcaReader {

View File

@@ -7,7 +7,6 @@ use symphonia::core::{
io::{MediaSource, MediaSourceStream, ReadBytes, SeekBuffered},
meta::{Metadata as SymphMetadata, MetadataLog},
probe::{Descriptor, Instantiate, QueryDescriptor},
units::TimeStamp,
};
impl QueryDescriptor for RawReader {

View File

@@ -232,8 +232,6 @@ impl From<HttpRequest> for Input {
#[cfg(test)]
mod tests {
use reqwest::Client;
use super::*;
use crate::{
constants::test_data::{HTTP_OPUS_TARGET, HTTP_TARGET, HTTP_WEBM_TARGET},

View File

@@ -225,8 +225,6 @@ impl Compose for YoutubeDl {
#[cfg(test)]
mod tests {
use reqwest::Client;
use super::*;
use crate::constants::test_data::*;
use crate::input::input_tests::*;