File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -466,11 +466,11 @@ pub mod tpm2_tss {
466
466
. filter ( |file| {
467
467
file. extension ( )
468
468
. and_then ( |ext| ext. to_str ( ) )
469
- . map_or ( false , |file_ext| [ "so" , "lib" ] . contains ( & file_ext) )
469
+ . is_some_and ( |file_ext| [ "so" , "lib" ] . contains ( & file_ext) )
470
470
&& file
471
471
. file_stem ( )
472
472
. and_then ( |stem| stem. to_str ( ) )
473
- . map_or ( false , |file_name| file_name. contains ( lib_name) )
473
+ . is_some_and ( |file_name| file_name. contains ( lib_name) )
474
474
} )
475
475
. peekable ( ) ;
476
476
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ tpm2_startup -c -T mssim
22
22
# #########################
23
23
# Install cargo-valgrind #
24
24
# #########################
25
+ apt update
25
26
apt install -y valgrind
26
27
cargo install cargo-valgrind
27
28
You can’t perform that action at this time.
0 commit comments