aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/memcmp.rs
diff options
context:
space:
mode:
authorMichael Gehring <[email protected]>2014-10-30 09:58:22 +0100
committerMichael Gehring <[email protected]>2014-10-30 09:58:22 +0100
commit1eb79df25abf3eede1f9d799992927986ce8c7a0 (patch)
tree8442882ca84d24508a59a9939654aadbdb54bbbc /src/crypto/memcmp.rs
parentMerge pull request #85 from vhbit/x509-load-pem (diff)
downloadrust-openssl-1eb79df25abf3eede1f9d799992927986ce8c7a0.tar.xz
rust-openssl-1eb79df25abf3eede1f9d799992927986ce8c7a0.zip
fail! -> panic!
Diffstat (limited to 'src/crypto/memcmp.rs')
-rw-r--r--src/crypto/memcmp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/memcmp.rs b/src/crypto/memcmp.rs
index c30281d4..7473fcab 100644
--- a/src/crypto/memcmp.rs
+++ b/src/crypto/memcmp.rs
@@ -8,7 +8,7 @@ use ffi;
///
/// # Failure
///
-/// This function will fail the current task if `a` and `b` do not have the same
+/// This function will panic the current task if `a` and `b` do not have the same
/// length.
pub fn eq(a: &[u8], b: &[u8]) -> bool {
assert!(a.len() == b.len());