arti-client: Fix clippy lint.

This commit is contained in:
Gabriela Moldovan 2023-06-29 19:30:48 +01:00
parent 28fae4d1fd
commit 541e56fce4
1 changed files with 1 additions and 0 deletions

View File

@ -289,6 +289,7 @@ impl StorageConfig {
})
}
/// Try to expand `keystore_dir` to be a path buffer.
#[allow(clippy::unnecessary_wraps)] // needed because of the experimental-api branch
pub(crate) fn expand_keystore_dir(&self) -> Result<Option<PathBuf>, ConfigBuildError> {
#[cfg(feature = "experimental-api")]
{