aboutsummaryrefslogtreecommitdiff
path: root/openssl/src
diff options
context:
space:
mode:
authorjohnthagen <[email protected]>2017-09-28 09:52:46 -0400
committerjohnthagen <[email protected]>2017-09-28 09:52:46 -0400
commit26fa22fe04def3322214a7fad18589dc1858e350 (patch)
tree48c3882964c80dcd85ba6bd394a146a100f90724 /openssl/src
parentDocument rand module (diff)
downloadrust-openssl-26fa22fe04def3322214a7fad18589dc1858e350.tar.xz
rust-openssl-26fa22fe04def3322214a7fad18589dc1858e350.zip
Fix typos
Diffstat (limited to 'openssl/src')
-rw-r--r--openssl/src/rand.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl/src/rand.rs b/openssl/src/rand.rs
index 9fe22226..cd700ff1 100644
--- a/openssl/src/rand.rs
+++ b/openssl/src/rand.rs
@@ -8,7 +8,7 @@
//! To generate a buffer with cryptographically strong bytes:
//!
//! ```
-//! let muf buf = [0; 256]
+//! let muf buf = [0; 256];
//! rand_bytes(&mut buf).unwrap();
//! ```
//!
@@ -21,7 +21,7 @@ use ffi;
use cvt;
use error::ErrorStack;
-/// Fills buffer with cryptographically strong pseudo-random bytes.
+/// Fill buffer with cryptographically strong pseudo-random bytes.
pub fn rand_bytes(buf: &mut [u8]) -> Result<(), ErrorStack> {
unsafe {
ffi::init();