From ab468350eca5273347ffa2f3180516878e3234da Mon Sep 17 00:00:00 2001 From: t8y2 Date: Thu, 24 Sep 2026 22:43:33 +0800 Subject: [PATCH] fix(core): drop needless return in test secret key path --- crates/dbx-core/src/persistence/secret_codec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/dbx-core/src/persistence/secret_codec.rs b/crates/dbx-core/src/persistence/secret_codec.rs index acb9ecb3e8..f59470b761 100644 --- a/crates/dbx-core/src/persistence/secret_codec.rs +++ b/crates/dbx-core/src/persistence/secret_codec.rs @@ -491,7 +491,7 @@ fn default_key_path() -> Option { // file; their auto-provisioned fallback lives in the system temp dir. #[cfg(test)] { - return Some(std::env::temp_dir().join("dbx-test-secret.key")); + Some(std::env::temp_dir().join("dbx-test-secret.key")) } #[cfg(not(test))] {