fix some clippy warnings

This commit is contained in:
Rémi Lauzier 2021-06-25 17:56:34 -04:00
parent e993111309
commit 6c78dce4c1
No known key found for this signature in database
GPG key ID: D4B9ECD143336C1D
2 changed files with 6 additions and 16 deletions

View file

@ -317,7 +317,7 @@ impl Device {
Ok(handle) => handle,
};
let hw_params = alsa::pcm::HwParams::any(&handle)?;
let hw_params = alsa::pcm::HwParams::any(handle)?;
// TODO: check endianess
const FORMATS: [(SampleFormat, alsa::pcm::Format); 3] = [