Fix clippy warnings (#236)
This commit is contained in:
@@ -19,7 +19,6 @@ use audiopus::{
|
||||
};
|
||||
use byteorder::{LittleEndian, ReadBytesExt, WriteBytesExt};
|
||||
use std::{
|
||||
convert::TryInto,
|
||||
io::{
|
||||
Cursor,
|
||||
Error as IoError,
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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},
|
||||
|
||||
@@ -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::*;
|
||||
|
||||
Reference in New Issue
Block a user