summaryrefslogtreecommitdiff
path: root/openssl/src/conf.rs
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2020-05-24 14:16:49 -0700
committerSteven Fackler <sfackler@gmail.com>2020-05-24 16:31:04 -0700
commitf401ba2ec1957cecbe98b81afd9a188f76052883 (patch)
treed7414f75961f84c1560a6d20c7289b3ef46fbd17 /openssl/src/conf.rs
parent406031991ff3d25e33ca7c74ac1c3790b303e67a (diff)
downloadrust-openssl-f401ba2ec1957cecbe98b81afd9a188f76052883.zip
Run clippy
Diffstat (limited to 'openssl/src/conf.rs')
-rw-r--r--openssl/src/conf.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/openssl/src/conf.rs b/openssl/src/conf.rs
index fb5d4f3c..43ff3530 100644
--- a/openssl/src/conf.rs
+++ b/openssl/src/conf.rs
@@ -18,6 +18,10 @@ impl ConfMethod {
}
/// Construct from raw pointer.
+ ///
+ /// # Safety
+ ///
+ /// The caller must ensure that the pointer is valid.
pub unsafe fn from_ptr(ptr: *mut ffi::CONF_METHOD) -> ConfMethod {
ConfMethod(ptr)
}