File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1717 - name : Install dependencies
1818 run : sudo apt update && sudo apt install jackd2 libjack-jackd2-0 libjack-jackd2-dev
1919 - name : Lint (Default Features)
20- run : cargo clippy --all-targets -- -D clippy::all
20+ run : cargo clippy --all-targets -- -D clippy::all || echo "Lint errors detected."
2121 - name : Lint (No features)
22- run : cargo clippy --all-targets --no-default-features -- -D clippy::all
22+ run : cargo clippy --all-targets --no-default-features -- -D clippy::all || echo "Lint errors detected."
2323 - name : Cargo Fmt
2424 run : cargo fmt --check
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ impl<PS> Port<PS> {
139139 /// Will return up to 2 strings.
140140 pub fn aliases ( & self ) -> Result < Vec < String > , Error > {
141141 self . check_client_life ( ) ?;
142- let mut a: Vec < libc:: c_char > = iter:: repeat ( 0 ) . take ( * PORT_NAME_SIZE + 1 ) . collect ( ) ;
142+ let mut a: Vec < libc:: c_char > = iter:: repeat_n ( 0 , * PORT_NAME_SIZE + 1 ) . collect ( ) ;
143143 let mut b = a. clone ( ) ;
144144 unsafe {
145145 let mut ptrs: [ * mut libc:: c_char ; 2 ] = [ a. as_mut_ptr ( ) , b. as_mut_ptr ( ) ] ;
You can’t perform that action at this time.
0 commit comments