aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs
index baa855b..11864f1 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -152,8 +152,7 @@ impl Config {
#[must_use]
pub fn client_cert_path(&self) -> String {
- self.client_cert_path.clone()
- .unwrap_or_else(|| "".to_string())
+ self.client_cert_path.clone().unwrap_or_default()
}
#[must_use]