Skip to content

Commit

Permalink
Fix expect_fun_call clippy lints
Browse files Browse the repository at this point in the history
This wasn't an actual issue, but the fix is equivalent.
  • Loading branch information
ctz committed Aug 23, 2023
1 parent 62fa3fb commit 820504d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/better_tls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fn better_tls() {
better_tls
.suites
.get(suite)
.expect(&format!("missing {suite} suite")),
.unwrap_or_else(|| panic!("missing {suite} suite")),
roots,
);
}
Expand All @@ -38,7 +38,7 @@ fn name_constraints() {
better_tls
.suites
.get(suite)
.expect(&format!("missing {suite} suite")),
.unwrap_or_else(|| panic!("missing {suite} suite")),
roots,
);
}
Expand Down

0 comments on commit 820504d

Please sign in to comment.