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 17
17
- name : Install dependencies
18
18
run : sudo apt update && sudo apt install jackd2 libjack-jackd2-0 libjack-jackd2-dev
19
19
- 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."
21
21
- 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."
23
23
- name : Cargo Fmt
24
24
run : cargo fmt --check
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ impl<PS> Port<PS> {
139
139
/// Will return up to 2 strings.
140
140
pub fn aliases ( & self ) -> Result < Vec < String > , Error > {
141
141
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 ( ) ;
143
143
let mut b = a. clone ( ) ;
144
144
unsafe {
145
145
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