From ad47c414bee82fa3b2c54736faef27431a1c295f Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Thu, 30 Oct 2014 00:24:55 -0400 Subject: [PATCH] fail -> panic --- src/port_audio_back_end.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/port_audio_back_end.rs b/src/port_audio_back_end.rs index d9530d3..67a8baa 100644 --- a/src/port_audio_back_end.rs +++ b/src/port_audio_back_end.rs @@ -95,7 +95,7 @@ impl StreamPA { stream.audio_in(&in_buffer, settings); }, Err(err) => { - fail!(format!("Portaudio error read : {}", pa::get_error_text(err))); + panic!(format!("Portaudio error read : {}", pa::get_error_text(err))); } } }