From 049055e3ff5ffe86700b668e924fbff96e82be94 Mon Sep 17 00:00:00 2001 From: Nora Widdecke Date: Mon, 22 Nov 2021 12:58:47 +0100 Subject: Remove unnecessary borrows. - Fixed with the help of clippy::needless_borrow. --- openpgp-ffi/tests/c-tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openpgp-ffi') 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(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(); } -- cgit v1.2.3