File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7373
7474 - name : Clippy
7575 shell : bash
76- run : rustup run ${{ matrix.rust }} cargo clippy -- -D warnings
76+ run : rustup run ${{ matrix.rust }} cargo clippy --no-default-features -- -D warnings
7777
7878 - name : Build fallback (Linux without dbus)
7979 shell : bash
Original file line number Diff line number Diff line change @@ -176,12 +176,12 @@ cfg_if! {
176176 if audio_samplerate_hz == 0 {
177177 return Err ( AudioThreadPriorityError :: new( "sample rate is zero" ) ) ;
178178 }
179- return Ok ( RtPriorityHandle { } ) ;
179+ Ok ( RtPriorityHandle { } )
180180 }
181181
182182 /// Fallback implementation that performs no operation for unsupported platforms.
183183 pub fn demote_thread_from_real_time_internal( _: RtPriorityThreadInfo ) -> Result <( ) , AudioThreadPriorityError > {
184- return Ok ( ( ) ) ;
184+ Ok ( ( ) )
185185 }
186186 #[ no_mangle]
187187 /// Size of a RtPriorityThreadInfo or atp_thread_info struct, for use in FFI.
You can’t perform that action at this time.
0 commit comments