File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ where
347347
348348 /// Open output stream using parameters configured so far.
349349 pub fn open_stream ( self ) -> Result < OutputStream , StreamError > {
350- let device = self . device . as_ref ( ) . expect ( "output device specified" ) ;
350+ let device = self . device . as_ref ( ) . expect ( "No output device specified" ) ;
351351
352352 OutputStream :: open ( device, & self . config , self . error_callback )
353353 }
@@ -360,7 +360,7 @@ where
360360 where
361361 E : Clone ,
362362 {
363- let device = self . device . as_ref ( ) . expect ( "output device specified" ) ;
363+ let device = self . device . as_ref ( ) . expect ( "No output device specified" ) ;
364364 let error_callback = & self . error_callback ;
365365
366366 OutputStream :: open ( device, & self . config , error_callback. clone ( ) ) . or_else ( |err| {
You can’t perform that action at this time.
0 commit comments