summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Peter <mail@david-peter.de>2021-08-08 23:32:13 +0200
committerDavid Peter <sharkdp@users.noreply.github.com>2021-08-08 23:48:20 +0200
commit224b7f2354d2c5c18719ec845fa958e13955679e (patch)
tree236c5daf85f919f56d2072f0167602639a0ebe72
parentb5344dac304b5938d8a41c91bf6c1e2dc00d8984 (diff)
Silence wrong clippy warning
-rw-r--r--tests/tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tests.rs b/tests/tests.rs
index 7fe2c70..0b6e6b5 100644
--- a/tests/tests.rs
+++ b/tests/tests.rs
@@ -24,6 +24,7 @@ static DEFAULT_FILES: &[&str] = &[
"e1 e2",
];
+#[allow(clippy::let_and_return)]
fn get_absolute_root_path(env: &TestEnv) -> String {
let path = env
.test_root()