1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-06 03:50:06 +02:00

Fix clippy warnings

This commit is contained in:
Roderick van Domburg 2021-09-01 21:25:32 +02:00
parent 1540636ccc
commit b016b69772
No known key found for this signature in database
GPG key ID: FE2585E713F9F30A
5 changed files with 8 additions and 8 deletions

View file

@ -59,7 +59,7 @@ fn list_outputs() -> io::Result<()> {
println!("Listing available Alsa outputs:");
for t in &["pcm", "ctl", "hwdep"] {
println!("{} devices:", t);
let i = match HintIter::new_str(None, &t) {
let i = match HintIter::new_str(None, t) {
Ok(i) => i,
Err(e) => {
return Err(io::Error::new(io::ErrorKind::Other, e));