mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-04 02:09:26 +02:00
Fix clippy warnings
This commit is contained in:
parent
1540636ccc
commit
b016b69772
5 changed files with 8 additions and 8 deletions
|
@ -18,8 +18,8 @@ pub struct AudioDecrypt<T: io::Read> {
|
|||
impl<T: io::Read> AudioDecrypt<T> {
|
||||
pub fn new(key: AudioKey, reader: T) -> AudioDecrypt<T> {
|
||||
let cipher = Aes128Ctr::new(
|
||||
&GenericArray::from_slice(&key.0),
|
||||
&GenericArray::from_slice(&AUDIO_AESIV),
|
||||
GenericArray::from_slice(&key.0),
|
||||
GenericArray::from_slice(&AUDIO_AESIV),
|
||||
);
|
||||
AudioDecrypt { cipher, reader }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue