summaryrefslogtreecommitdiff
path: root/openssl/src/memcmp.rs
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2016-10-22 15:58:06 -0700
committerSteven Fackler <sfackler@gmail.com>2016-10-22 15:58:06 -0700
commit787cad3c8225b0c09135305477d5a962fc64d9bb (patch)
treeacf80953c3b5fbb2323976a7f723ad97c616268d /openssl/src/memcmp.rs
parent3c50c74444e841c9178758fe18dcef38f56da243 (diff)
downloadrust-openssl-787cad3c8225b0c09135305477d5a962fc64d9bb.zip
Use constants rather than constructors for Nid
Diffstat (limited to 'openssl/src/memcmp.rs')
-rw-r--r--openssl/src/memcmp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/src/memcmp.rs b/openssl/src/memcmp.rs
index cf08bdb5..0a7124bd 100644
--- a/openssl/src/memcmp.rs
+++ b/openssl/src/memcmp.rs
@@ -6,7 +6,7 @@ use ffi;
/// This operation takes an amount of time dependent on the length of the two
/// arrays given, but is independent of the contents of a and b.
///
-/// # Failure
+/// # Panics
///
/// This function will panic the current task if `a` and `b` do not have the same
/// length.