summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2021-11-22 12:58:47 +0100
committerNora Widdecke <nora@sequoia-pgp.org>2021-11-29 11:53:55 +0100
commit049055e3ff5ffe86700b668e924fbff96e82be94 (patch)
tree30dfd63e4d1c3016210b698813e99b70787890e8 /openpgp-ffi
parent97ce753fefae770ee0b5b02a611d75e29a7cd01d (diff)
Remove unnecessary borrows.
- Fixed with the help of clippy::needless_borrow.
Diffstat (limited to 'openpgp-ffi')
-rw-r--r--openpgp-ffi/tests/c-tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp-ffi/tests/c-tests.rs b/openpgp-ffi/tests/c-tests.rs
index 7a75a9d6..a93653db 100644
--- a/openpgp-ffi/tests/c-tests.rs
+++ b/openpgp-ffi/tests/c-tests.rs
@@ -162,7 +162,7 @@ fn for_all_tests<F>(path: &Path, mut fun: F)
if let Some(name) = exported_function_name(&line) {
if !test.is_empty() {
- fun(path, test_starts_at, &name, replace(&mut test, vec![]),
+ fun(path, test_starts_at, name, replace(&mut test, vec![]),
run)?;
test.clear();
}