Skip to content

Commit baf7f85

Browse files
authored
Merge pull request #562 from baloo/baloo/rust-1.84/clippy
fixup clippy 1.84 warnings
2 parents acec889 + 444153a commit baf7f85

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tss-esapi-sys/build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

tss-esapi/tests/valgrind.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ tpm2_startup -c -T mssim
2222
##########################
2323
# Install cargo-valgrind #
2424
##########################
25+
apt update
2526
apt install -y valgrind
2627
cargo install cargo-valgrind
2728

0 commit comments

Comments
 (0)