aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/memcmp.rs
diff options
context:
space:
mode:
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());