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 {
466466 . filter ( |file| {
467467 file. extension ( )
468468 . 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) )
470470 && file
471471 . file_stem ( )
472472 . 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) )
474474 } )
475475 . peekable ( ) ;
476476
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ tpm2_startup -c -T mssim
2222# #########################
2323# Install cargo-valgrind #
2424# #########################
25+ apt update
2526apt install -y valgrind
2627cargo install cargo-valgrind
2728
You can’t perform that action at this time.
0 commit comments