Turned off warning for unused variable in audio_transcription example

This commit is contained in:
James Bruska 2023-03-23 13:46:36 -04:00
parent 1873288db0
commit 445a072bda

View file

@ -32,6 +32,7 @@ fn main() {
// Open the audio file. // Open the audio file.
let mut reader = hound::WavReader::open("audio.wav").expect("failed to open file"); let mut reader = hound::WavReader::open("audio.wav").expect("failed to open file");
#[allow(unused_variables)]
let hound::WavSpec { let hound::WavSpec {
channels, channels,
sample_rate, sample_rate,