summaryrefslogtreecommitdiff
path: root/openssl/src/x509/store.rs
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2017-07-15 21:46:11 -0700
committerSteven Fackler <sfackler@gmail.com>2017-07-15 21:46:11 -0700
commitbcd0dcafcba31b7239faf1d582871f8fa83d69e9 (patch)
treef090be453d289f0f17ca4f6a3f458881e6f7091a /openssl/src/x509/store.rs
parent5c2410c38af8ed2ee041081da84cd61dadc22e12 (diff)
downloadrust-openssl-bcd0dcafcba31b7239faf1d582871f8fa83d69e9.zip
Rustfmt
Diffstat (limited to 'openssl/src/x509/store.rs')
-rw-r--r--openssl/src/x509/store.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/openssl/src/x509/store.rs b/openssl/src/x509/store.rs
index 8b7a084b..198679b5 100644
--- a/openssl/src/x509/store.rs
+++ b/openssl/src/x509/store.rs
@@ -50,9 +50,7 @@ impl X509StoreBuilderRef {
/// environment variables if present, or defaults specified at OpenSSL
/// build time otherwise.
pub fn set_default_paths(&mut self) -> Result<(), ErrorStack> {
- unsafe {
- cvt(ffi::X509_STORE_set_default_paths(self.as_ptr())).map(|_| ())
- }
+ unsafe { cvt(ffi::X509_STORE_set_default_paths(self.as_ptr())).map(|_| ()) }
}
}