diff options
| author | Michael Gehring <[email protected]> | 2014-10-30 09:58:22 +0100 |
|---|---|---|
| committer | Michael Gehring <[email protected]> | 2014-10-30 09:58:22 +0100 |
| commit | 1eb79df25abf3eede1f9d799992927986ce8c7a0 (patch) | |
| tree | 8442882ca84d24508a59a9939654aadbdb54bbbc /src/crypto/memcmp.rs | |
| parent | Merge pull request #85 from vhbit/x509-load-pem (diff) | |
| download | rust-openssl-1eb79df25abf3eede1f9d799992927986ce8c7a0.tar.xz rust-openssl-1eb79df25abf3eede1f9d799992927986ce8c7a0.zip | |
fail! -> panic!
Diffstat (limited to 'src/crypto/memcmp.rs')
| -rw-r--r-- | src/crypto/memcmp.rs | 2 |
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()); |